#C97BF6#C97BF6
#C97BF6 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.4% C 0.187 H 311.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C97BF6 |
|---|---|
| RGB | rgb(201, 123, 246) |
| HSL | hsl(278, 87%, 72%) |
| HSV | hsv(278, 50%, 96%) |
| CMYK | cmyk(18.3%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(64.35, 51.27, -49.90) |
| CIE-LCH | lch(64.35, 71.54, 315.78°) |
| OKLab | oklab(71.4% 0.1246 -0.1393) |
| OKLCH | oklch(71.4% 0.187 311.8) |
| XYZ | xyz(47.8020, 33.2383, 91.0684) |
| Luminance | 0.3324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 3.38
Liliac
#C48EFD
ΔE00 4.75
Light Urple
#B36FF6
ΔE00 5.14
Bright Lavender
#C760FF
ΔE00 5.77
Bright Lilac
#C95EFB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97BF6 #A8F67B
analogous
#8C7BF6 #C97BF6 #F67BE5
triadic
#C97BF6 #F6C97B #7BF6C9
tetradic
#C97BF6 #F68C7B #A8F67B #7BE5F6
square
#C97BF6 #F68C7B #A8F67B #7BE5F6
split-complementary
#C97BF6 #E5F67B #7BF68C
monochromatic
#9810E7 #B242F2 #C97BF6 #E0B4FA #F3E2FD
Accessibility & contrast
On white
2.75
#C97BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#C97BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97BF6
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97BF6 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#C48FAD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c97bf6; /* rgb */ color: rgb(201, 123, 246); /* oklch */ color: oklch(71.4% 0.187 311.8);
Tailwind
colors: {
custom: {
50: '#dca3f9',
500: '#c97bf6',
950: '#000000',
},
}SCSS
$custom: #c97bf6; $custom-light: #dca3f9; $custom-dark: #000000;
JSON
{
"hex": "#c97bf6",
"rgb": {
"r": 201,
"g": 123,
"b": 246
},
"hsl": {
"h": 278.049,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.71403,
"c": 0.1869,
"h": 311.8
},
"luminance": 0.33237
}Semantic roles & 50–950 ramp
primary
#C97BF6
secondary
#E1F5D6
accent
#E40254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85