#C97FEE#C97FEE
#C97FEE is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.172 H 313.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C97FEE |
|---|---|
| RGB | rgb(201, 127, 238) |
| HSL | hsl(280, 77%, 72%) |
| HSV | hsv(280, 47%, 93%) |
| CMYK | cmyk(15.5%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(64.78, 47.50, -44.81) |
| CIE-LCH | lch(64.78, 65.30, 316.67°) |
| OKLab | oklab(71.6% 0.1183 -0.1246) |
| OKLCH | oklch(71.6% 0.172 313.5) |
| XYZ | xyz(47.1068, 33.7704, 84.9092) |
| Luminance | 0.3377 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.42
Liliac
#C48EFD
ΔE00 4.54
Easter Purple
#C071FE
ΔE00 4.92
Light Urple
#B36FF6
ΔE00 6.31
Orchid
#DA70D6
ΔE00 6.56
Baby Purple
#CA9BF7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97FEE #A4EE7F
analogous
#927FEE #C97FEE #EE7FDC
triadic
#C97FEE #EEC97F #7FEEC9
tetradic
#C97FEE #EE927F #A4EE7F #7FDCEE
square
#C97FEE #EE927F #A4EE7F #7FDCEE
split-complementary
#C97FEE #DCEE7F #7FEE92
monochromatic
#981CD6 #B249E7 #C97FEE #E0B5F5 #F4E4FB
Accessibility & contrast
On white
2.71
#C97FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#C97FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97FEE
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97FEE | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C690AB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c97fee; /* rgb */ color: rgb(201, 127, 238); /* oklch */ color: oklch(71.6% 0.172 313.5);
Tailwind
colors: {
custom: {
50: '#dba6f4',
500: '#c97fee',
950: '#000000',
},
}SCSS
$custom: #c97fee; $custom-light: #dba6f4; $custom-dark: #000000;
JSON
{
"hex": "#c97fee",
"rgb": {
"r": 201,
"g": 127,
"b": 238
},
"hsl": {
"h": 280,
"s": 76.552,
"l": 71.569
},
"oklch": {
"l": 0.71595,
"c": 0.17176,
"h": 313.5
},
"luminance": 0.33769
}Semantic roles & 50–950 ramp
primary
#C97FEE
secondary
#E0F3D6
accent
#D90D51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85