#C97DF2#C97DF2
#C97DF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.5% C 0.179 H 312.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C97DF2 |
|---|---|
| RGB | rgb(201, 125, 242) |
| HSL | hsl(279, 82%, 72%) |
| HSV | hsv(279, 48%, 95%) |
| CMYK | cmyk(16.9%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.56, 49.39, -47.37) |
| CIE-LCH | lch(64.56, 68.43, 316.20°) |
| OKLab | oklab(71.49% 0.1215 -0.132) |
| OKLCH | oklch(71.49% 0.179 312.6) |
| XYZ | xyz(47.4453, 33.4966, 87.9533) |
| Luminance | 0.3350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.71
Easter Purple
#C071FE
ΔE00 4.12
Liliac
#C48EFD
ΔE00 4.57
Light Urple
#B36FF6
ΔE00 5.67
Bright Lavender
#C760FF
ΔE00 6.42
Bright Lilac
#C95EFB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97DF2 #A6F27D
analogous
#8F7DF2 #C97DF2 #F27DE1
triadic
#C97DF2 #F2C97D #7DF2C9
tetradic
#C97DF2 #F28F7D #A6F27D #7DE1F2
square
#C97DF2 #F28F7D #A6F27D #7DE1F2
split-complementary
#C97DF2 #E1F27D #7DF28F
monochromatic
#9816DE #B245EC #C97DF2 #E0B5F8 #F3E3FC
Accessibility & contrast
On white
2.73
#C97DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#C97DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97DF2
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97DF2 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C58FAC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c97df2; /* rgb */ color: rgb(201, 125, 242); /* oklch */ color: oklch(71.5% 0.179 312.6);
Tailwind
colors: {
custom: {
50: '#dba5f7',
500: '#c97df2',
950: '#000000',
},
}SCSS
$custom: #c97df2; $custom-light: #dba5f7; $custom-dark: #000000;
JSON
{
"hex": "#c97df2",
"rgb": {
"r": 201,
"g": 125,
"b": 242
},
"hsl": {
"h": 278.974,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.71494,
"c": 0.17936,
"h": 312.6
},
"luminance": 0.33496
}Semantic roles & 50–950 ramp
primary
#C97DF2
secondary
#E1F4D7
accent
#DE0753
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85