#C97CF5#C97CF5
#C97CF5 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.184 H 312.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C97CF5 |
|---|---|
| RGB | rgb(201, 124, 245) |
| HSL | hsl(278, 86%, 72%) |
| HSV | hsv(278, 49%, 96%) |
| CMYK | cmyk(18%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(64.50, 50.54, -49.11) |
| CIE-LCH | lch(64.50, 70.47, 315.83°) |
| OKLab | oklab(71.5% 0.1232 -0.137) |
| OKLCH | oklch(71.5% 0.184 312) |
| XYZ | xyz(47.7736, 33.4264, 90.3038) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.34
Easter Purple
#C071FE
ΔE00 3.64
Liliac
#C48EFD
ΔE00 4.59
Light Urple
#B36FF6
ΔE00 5.33
Bright Lavender
#C760FF
ΔE00 6.03
Bright Lilac
#C95EFB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97CF5 #A8F57C
analogous
#8D7CF5 #C97CF5 #F57CE4
triadic
#C97CF5 #F5C97C #7CF5C9
tetradic
#C97CF5 #F58D7C #A8F57C #7CE4F5
square
#C97CF5 #F58D7C #A8F57C #7CE4F5
split-complementary
#C97CF5 #E4F57C #7CF58D
monochromatic
#9811E5 #B243F1 #C97CF5 #E0B5F9 #F3E3FD
Accessibility & contrast
On white
2.73
#C97CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#C97CF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97CF5
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97CF5 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F98F9
Deuteranopia (green-blind)
#769EF2
Tritanopia (blue-blind)
#C48FAD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c97cf5; /* rgb */ color: rgb(201, 124, 245); /* oklch */ color: oklch(71.5% 0.184 312.0);
Tailwind
colors: {
custom: {
50: '#dca4f9',
500: '#c97cf5',
950: '#000000',
},
}SCSS
$custom: #c97cf5; $custom-light: #dca4f9; $custom-dark: #000000;
JSON
{
"hex": "#c97cf5",
"rgb": {
"r": 201,
"g": 124,
"b": 245
},
"hsl": {
"h": 278.182,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.71499,
"c": 0.18423,
"h": 312
},
"luminance": 0.33425
}Semantic roles & 50–950 ramp
primary
#C97CF5
secondary
#E1F5D6
accent
#E20354
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85