#C992FC#C992FC
#C992FC is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.3% C 0.157 H 306.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C992FC |
|---|---|
| RGB | rgb(201, 146, 252) |
| HSL | hsl(271, 95%, 78%) |
| HSV | hsv(271, 42%, 99%) |
| CMYK | cmyk(20.2%, 42.1%, 0%, 1.2%) |
| CIE-LAB | lab(69.47, 40.35, -45.12) |
| CIE-LCH | lch(69.47, 60.53, 311.81°) |
| OKLab | oklab(75.32% 0.0943 -0.1255) |
| OKLCH | oklch(75.32% 0.157 306.9) |
| XYZ | xyz(51.9335, 40.0040, 97.0622) |
| Luminance | 0.4000 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.43
Baby Purple
#CA9BF7
ΔE00 2.68
Pastel Purple
#CAA0FF
ΔE00 3.54
Lilac (survey)
#CEA2FD
ΔE00 4.08
Lavender (survey)
#C79FEF
ΔE00 4.66
Light Purple
#BF77F6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C992FC #C5FC92
analogous
#9492FC #C992FC #FC92FA
triadic
#C992FC #FCC992 #92FCC9
tetradic
#C992FC #FC9492 #C5FC92 #92FAFC
square
#C992FC #FC9492 #C5FC92 #92FAFC
split-complementary
#C992FC #FAFC92 #92FC94
monochromatic
#8E1BF9 #AB56FA #C992FC #E7CEFE #F0E1FE
Accessibility & contrast
On white
2.33
#C992FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#C992FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C992FC
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C992FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C992FC | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#C2A3BB
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c992fc; /* rgb */ color: rgb(201, 146, 252); /* oklch */ color: oklch(75.3% 0.157 306.9);
Tailwind
colors: {
custom: {
50: '#dbb3fe',
500: '#c992fc',
950: '#000000',
},
}SCSS
$custom: #c992fc; $custom-light: #dbb3fe; $custom-dark: #000000;
JSON
{
"hex": "#c992fc",
"rgb": {
"r": 201,
"g": 146,
"b": 252
},
"hsl": {
"h": 271.132,
"s": 94.643,
"l": 78.039
},
"oklch": {
"l": 0.75318,
"c": 0.15701,
"h": 306.9
},
"luminance": 0.40004
}Semantic roles & 50–950 ramp
primary
#C992FC
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086