#C97EFB#C97EFB
#C97EFB is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.188 H 310.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C97EFB |
|---|---|
| RGB | rgb(201, 126, 251) |
| HSL | hsl(276, 94%, 74%) |
| HSV | hsv(276, 50%, 98%) |
| CMYK | cmyk(19.9%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(65.20, 50.79, -51.30) |
| CIE-LCH | lch(65.20, 72.18, 314.71°) |
| OKLab | oklab(72.11% 0.1211 -0.1434) |
| OKLCH | oklch(72.11% 0.188 310.2) |
| XYZ | xyz(48.9576, 34.3051, 95.2906) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.41
Easter Purple
#C071FE
ΔE00 3.55
Liliac
#C48EFD
ΔE00 3.97
Light Urple
#B36FF6
ΔE00 5.38
Bright Lavender
#C760FF
ΔE00 6.25
Bright Lilac
#C95EFB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97EFB #B0FB7E
analogous
#8B7EFB #C97EFB #FB7EEF
triadic
#C97EFB #FBC97E #7EFBC9
tetradic
#C97EFB #FB8B7E #B0FB7E #7EEFFB
square
#C97EFB #FB8B7E #B0FB7E #7EEFFB
split-complementary
#C97EFB #EFFB7E #7EFB8B
monochromatic
#9708F7 #B043F9 #C97EFB #E2B9FD #F3E1FE
Accessibility & contrast
On white
2.67
#C97EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#C97EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97EFB
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97EFB | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#C393B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c97efb; /* rgb */ color: rgb(201, 126, 251); /* oklch */ color: oklch(72.1% 0.188 310.2);
Tailwind
colors: {
custom: {
50: '#dca5fd',
500: '#c97efb',
950: '#000000',
},
}SCSS
$custom: #c97efb; $custom-light: #dca5fd; $custom-dark: #000000;
JSON
{
"hex": "#c97efb",
"rgb": {
"r": 201,
"g": 126,
"b": 251
},
"hsl": {
"h": 276,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.72114,
"c": 0.18771,
"h": 310.2
},
"luminance": 0.34304
}Semantic roles & 50–950 ramp
primary
#C97EFB
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86