#C997FC#C997FC
#C997FC is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.2% C 0.149 H 306.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C997FC |
|---|---|
| RGB | rgb(201, 151, 252) |
| HSL | hsl(270, 94%, 79%) |
| HSV | hsv(270, 40%, 99%) |
| CMYK | cmyk(20.2%, 40.1%, 0%, 1.2%) |
| CIE-LAB | lab(70.58, 37.63, -43.38) |
| CIE-LCH | lch(70.58, 57.43, 310.94°) |
| OKLab | oklab(76.15% 0.0874 -0.1205) |
| OKLCH | oklch(76.15% 0.149 306) |
| XYZ | xyz(52.7212, 41.5793, 97.3248) |
| Luminance | 0.4158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.58
Pastel Purple
#CAA0FF
ΔE00 2.28
Liliac
#C48EFD
ΔE00 2.45
Lilac (survey)
#CEA2FD
ΔE00 2.85
Lavender (survey)
#C79FEF
ΔE00 3.62
Pale Violet
#CEAEFA
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C997FC #CAFC97
analogous
#9798FC #C997FC #FC97FC
triadic
#C997FC #FCC997 #97FCC9
tetradic
#C997FC #FC9798 #CAFC97 #97FCFC
square
#C997FC #FC9798 #CAFC97 #97FCFC
split-complementary
#C997FC #FCFC97 #98FC97
monochromatic
#8B20F9 #AA5CFA #C997FC #E8D2FE #F0E1FE
Accessibility & contrast
On white
2.25
#C997FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#C997FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C997FC
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C997FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C997FC | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#C1A7BE
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c997fc; /* rgb */ color: rgb(201, 151, 252); /* oklch */ color: oklch(76.2% 0.149 306.0);
Tailwind
colors: {
custom: {
50: '#dbb6fd',
500: '#c997fc',
950: '#000000',
},
}SCSS
$custom: #c997fc; $custom-light: #dbb6fd; $custom-dark: #000000;
JSON
{
"hex": "#c997fc",
"rgb": {
"r": 201,
"g": 151,
"b": 252
},
"hsl": {
"h": 269.703,
"s": 94.393,
"l": 79.02
},
"oklch": {
"l": 0.76153,
"c": 0.1489,
"h": 306
},
"luminance": 0.41579
}Semantic roles & 50–950 ramp
primary
#C997FC
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086