#C97EF7#C97EF7
#C97EF7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.183 H 311.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C97EF7 |
|---|---|
| RGB | rgb(201, 126, 247) |
| HSL | hsl(277, 88%, 73%) |
| HSV | hsv(277, 49%, 97%) |
| CMYK | cmyk(18.6%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(65.01, 49.93, -49.41) |
| CIE-LCH | lch(65.01, 70.24, 315.30°) |
| OKLab | oklab(71.9% 0.1207 -0.1379) |
| OKLCH | oklch(71.9% 0.183 311.2) |
| XYZ | xyz(48.3337, 34.0556, 92.0049) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.51
Easter Purple
#C071FE
ΔE00 3.82
Liliac
#C48EFD
ΔE00 4.09
Light Urple
#B36FF6
ΔE00 5.53
Bright Lavender
#C760FF
ΔE00 6.38
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97EF7 #ACF77E
analogous
#8C7EF7 #C97EF7 #F77EE8
triadic
#C97EF7 #F7C97E #7EF7C9
tetradic
#C97EF7 #F78C7E #ACF77E #7EE8F7
square
#C97EF7 #F78C7E #ACF77E #7EE8F7
split-complementary
#C97EF7 #E8F77E #7EF78C
monochromatic
#980FEC #B144F3 #C97EF7 #E1B8FB #F3E2FD
Accessibility & contrast
On white
2.69
#C97EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#C97EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97EF7
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97EF7 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#C492AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c97ef7; /* rgb */ color: rgb(201, 126, 247); /* oklch */ color: oklch(71.9% 0.183 311.2);
Tailwind
colors: {
custom: {
50: '#dca5fa',
500: '#c97ef7',
950: '#000000',
},
}SCSS
$custom: #c97ef7; $custom-light: #dca5fa; $custom-dark: #000000;
JSON
{
"hex": "#c97ef7",
"rgb": {
"r": 201,
"g": 126,
"b": 247
},
"hsl": {
"h": 277.19,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.71904,
"c": 0.18329,
"h": 311.2
},
"luminance": 0.34055
}Semantic roles & 50–950 ramp
primary
#C97EF7
secondary
#E2F5D6
accent
#E50157
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85