#C97FED#C97FED
#C97FED is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.171 H 313.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C97FED |
|---|---|
| RGB | rgb(201, 127, 237) |
| HSL | hsl(280, 75%, 71%) |
| HSV | hsv(280, 46%, 93%) |
| CMYK | cmyk(15.2%, 46.4%, 0%, 7.1%) |
| CIE-LAB | lab(64.73, 47.29, -44.33) |
| CIE-LCH | lch(64.73, 64.82, 316.85°) |
| OKLab | oklab(71.54% 0.1181 -0.1232) |
| OKLCH | oklch(71.54% 0.171 313.8) |
| XYZ | xyz(46.9603, 33.7118, 84.1376) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.54
Liliac
#C48EFD
ΔE00 4.64
Easter Purple
#C071FE
ΔE00 5.04
Light Urple
#B36FF6
ΔE00 6.40
Orchid
#DA70D6
ΔE00 6.43
Violet (CSS)
#EE82EE
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97FED #A3ED7F
analogous
#927FED #C97FED #ED7FDA
triadic
#C97FED #EDC97F #7FEDC9
tetradic
#C97FED #ED927F #A3ED7F #7FDAED
square
#C97FED #ED927F #A3ED7F #7FDAED
split-complementary
#C97FED #DAED7F #7FED92
monochromatic
#981ED4 #B249E5 #C97FED #E0B5F5 #F4E4FB
Accessibility & contrast
On white
2.71
#C97FED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#C97FED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97FED
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97FED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97FED | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#C68FAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c97fed; /* rgb */ color: rgb(201, 127, 237); /* oklch */ color: oklch(71.5% 0.171 313.8);
Tailwind
colors: {
custom: {
50: '#dba6f3',
500: '#c97fed',
950: '#000000',
},
}SCSS
$custom: #c97fed; $custom-light: #dba6f3; $custom-dark: #000000;
JSON
{
"hex": "#c97fed",
"rgb": {
"r": 201,
"g": 127,
"b": 237
},
"hsl": {
"h": 280.364,
"s": 75.342,
"l": 71.373
},
"oklch": {
"l": 0.71544,
"c": 0.17066,
"h": 313.8
},
"luminance": 0.33711
}Semantic roles & 50–950 ramp
primary
#C97FED
secondary
#DFF2D6
accent
#D80E50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85