#C97FF3#C97FF3
#C97FF3 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.177 H 312.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C97FF3 |
|---|---|
| RGB | rgb(201, 127, 243) |
| HSL | hsl(278, 83%, 73%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.3%, 47.7%, 0%, 4.7%) |
| CIE-LAB | lab(65.02, 48.55, -47.20) |
| CIE-LCH | lch(65.02, 67.71, 315.81°) |
| OKLab | oklab(71.85% 0.1189 -0.1315) |
| OKLCH | oklch(71.85% 0.177 312.1) |
| XYZ | xyz(47.8516, 34.0683, 88.8317) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.92
Liliac
#C48EFD
ΔE00 4.12
Easter Purple
#C071FE
ΔE00 4.36
Light Urple
#B36FF6
ΔE00 5.91
Bright Lavender
#C760FF
ΔE00 6.80
Baby Purple
#CA9BF7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97FF3 #A9F37F
analogous
#8F7FF3 #C97FF3 #F37FE3
triadic
#C97FF3 #F3C97F #7FF3C9
tetradic
#C97FF3 #F38F7F #A9F37F #7FE3F3
square
#C97FF3 #F38F7F #A9F37F #7FE3F3
split-complementary
#C97FF3 #E3F37F #7FF38F
monochromatic
#9815E2 #B147EE #C97FF3 #E1B7F8 #F3E3FC
Accessibility & contrast
On white
2.69
#C97FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#C97FF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97FF3
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97FF3 | 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)
#649AF7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#C591AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c97ff3; /* rgb */ color: rgb(201, 127, 243); /* oklch */ color: oklch(71.8% 0.177 312.1);
Tailwind
colors: {
custom: {
50: '#dba6f7',
500: '#c97ff3',
950: '#000000',
},
}SCSS
$custom: #c97ff3; $custom-light: #dba6f7; $custom-dark: #000000;
JSON
{
"hex": "#c97ff3",
"rgb": {
"r": 201,
"g": 127,
"b": 243
},
"hsl": {
"h": 278.276,
"s": 82.857,
"l": 72.549
},
"oklch": {
"l": 0.71848,
"c": 0.17727,
"h": 312.1
},
"luminance": 0.34067
}Semantic roles & 50–950 ramp
primary
#C97FF3
secondary
#E1F4D7
accent
#DF0655
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85