HSL(302, 30%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,30%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 30%, 70%) | color: hsl(302, 30%, 70%) | |
| HEX | #C99CC8 | color: #C99CC8 | |
| RGB | rgb(201, 156, 200) | color: rgb(201, 156, 200) | |
| CMYK | cmyk(0%, 22%, 0%, 21%) | — | |
| HSV | hsv(301, 22%, 79%) | — | |
| HWB | hwb(301 62% 21%) | color: hwb(301 62% 21%) | |
| OKLCH | oklch(0.7485 0.0798 327.05) | color: oklch(0.7485 0.0798 327.05) | |
| Lab | lab(69.73 24.18 -16.14) | color: lab(69.73 24.18 -16.14) | |
| LCH | lch(69.73 29.07 326.28) | color: lch(69.73 29.07 326.28) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#B6B5BD — rgb(182, 181, 189)
Deuteranopia (Green-blind)
#B8BCBB — rgb(184, 188, 187)
Tritanopia (Blue-blind)
#C7B5B3 — rgb(199, 181, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 30%, 70%);
text
color: hsl(302, 30%, 70%);
border
border: 2px solid hsl(302, 30%, 70%);
gradient light
background: linear-gradient(to right, hsl(302, 30%, 90%), hsl(302, 30%, 70%));
gradient dark
background: linear-gradient(to right, hsl(302, 30%, 70%), hsl(302, 30%, 50%))
hex
background-color: #C99CC8;
tailwind
bg-[hsl(302,30%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 30%, 70%, 0.4);
css variable
--color-primary: hsl(302, 30%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 30%, 70%)?
HEX: #C99CC8 | RGB: rgb(201, 156, 200) | CMYK: 0%, 22%, 0%, 21% | HSV: 301°, 22%, 79%. Copy any format from the conversion table above.
What colors go well with #C99CC8?
The complementary color is HSL(122, 30%, 70%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 30%, 70%) in CSS?
As HSL: color: hsl(302, 30%, 70%); — As HEX: color: #C99CC8; — As RGB: color: rgb(201, 156, 200); — Tailwind CSS: bg-[hsl(302,30%,70%)] — CSS variable: --color-primary: hsl(302, 30%, 70%);