#C97CF7#C97CF7
#C97CF7 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.186 H 311.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C97CF7 |
|---|---|
| RGB | rgb(201, 124, 247) |
| HSL | hsl(278, 88%, 73%) |
| HSV | hsv(278, 50%, 97%) |
| CMYK | cmyk(18.6%, 49.8%, 0%, 3.1%) |
| CIE-LAB | lab(64.60, 50.97, -50.05) |
| CIE-LCH | lch(64.60, 71.43, 315.52°) |
| OKLab | oklab(71.6% 0.1234 -0.1398) |
| OKLCH | oklch(71.6% 0.186 311.4) |
| XYZ | xyz(48.0805, 33.5492, 91.9205) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.22
Easter Purple
#C071FE
ΔE00 3.46
Liliac
#C48EFD
ΔE00 4.51
Light Urple
#B36FF6
ΔE00 5.23
Bright Lavender
#C760FF
ΔE00 5.94
Bright Lilac
#C95EFB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97CF7 #AAF77C
analogous
#8B7CF7 #C97CF7 #F77CE7
triadic
#C97CF7 #F7C97C #7CF7C9
tetradic
#C97CF7 #F78B7C #AAF77C #7CE7F7
square
#C97CF7 #F78B7C #AAF77C #7CE7F7
split-complementary
#C97CF7 #E7F77C #7CF78B
monochromatic
#980EEA #B142F3 #C97CF7 #E1B6FB #F3E2FD
Accessibility & contrast
On white
2.72
#C97CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#C97CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97CF7
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97CF7 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#C490AE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c97cf7; /* rgb */ color: rgb(201, 124, 247); /* oklch */ color: oklch(71.6% 0.186 311.4);
Tailwind
colors: {
custom: {
50: '#dca4fa',
500: '#c97cf7',
950: '#000000',
},
}SCSS
$custom: #c97cf7; $custom-light: #dca4fa; $custom-dark: #000000;
JSON
{
"hex": "#c97cf7",
"rgb": {
"r": 201,
"g": 124,
"b": 247
},
"hsl": {
"h": 277.561,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.71604,
"c": 0.18642,
"h": 311.4
},
"luminance": 0.33548
}Semantic roles & 50–950 ramp
primary
#C97CF7
secondary
#E2F5D6
accent
#E50056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85