#C997EF#C997EF
#C997EF is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.133 H 309.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C997EF |
|---|---|
| RGB | rgb(201, 151, 239) |
| HSL | hsl(274, 73%, 76%) |
| HSV | hsv(274, 37%, 94%) |
| CMYK | cmyk(15.9%, 36.8%, 0%, 6.3%) |
| CIE-LAB | lab(70.02, 34.79, -37.16) |
| CIE-LCH | lch(70.02, 50.91, 313.12°) |
| OKLab | oklab(75.55% 0.0848 -0.1026) |
| OKLCH | oklch(75.55% 0.133 309.6) |
| XYZ | xyz(50.7312, 40.7833, 86.8441) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.57
Lavender (survey)
#C79FEF
ΔE00 2.35
Lilac (survey)
#CEA2FD
ΔE00 3.14
Pastel Purple
#CAA0FF
ΔE00 3.33
Liliac
#C48EFD
ΔE00 4.11
Pale Purple
#B790D4
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C997EF #BDEF97
analogous
#9D97EF #C997EF #EF97E9
triadic
#C997EF #EFC997 #97EFC9
tetradic
#C997EF #EF9D97 #BDEF97 #97E9EF
square
#C997EF #EF9D97 #BDEF97 #97E9EF
split-complementary
#C997EF #E9EF97 #97EF9D
monochromatic
#922DDF #AD62E7 #C997EF #E5CCF7 #F1E4FB
Accessibility & contrast
On white
2.29
#C997EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#C997EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C997EF
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C997EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C997EF | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#C5A4B8
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c997ef; /* rgb */ color: rgb(201, 151, 239); /* oklch */ color: oklch(75.5% 0.133 309.6);
Tailwind
colors: {
custom: {
50: '#dab6f4',
500: '#c997ef',
950: '#000000',
},
}SCSS
$custom: #c997ef; $custom-light: #dab6f4; $custom-dark: #000000;
JSON
{
"hex": "#c997ef",
"rgb": {
"r": 201,
"g": 151,
"b": 239
},
"hsl": {
"h": 274.091,
"s": 73.333,
"l": 76.471
},
"oklch": {
"l": 0.7555,
"c": 0.13314,
"h": 309.6
},
"luminance": 0.40783
}Semantic roles & 50–950 ramp
primary
#C997EF
secondary
#E4F3D8
accent
#D51065
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085