#C97AF2#C97AF2
#C97AF2 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.184 H 313.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C97AF2 |
|---|---|
| RGB | rgb(201, 122, 242) |
| HSL | hsl(280, 82%, 71%) |
| HSV | hsv(280, 50%, 95%) |
| CMYK | cmyk(16.9%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(63.96, 50.95, -48.32) |
| CIE-LCH | lch(63.96, 70.22, 316.52°) |
| OKLab | oklab(71.05% 0.1255 -0.1347) |
| OKLCH | oklch(71.05% 0.184 313) |
| XYZ | xyz(47.0712, 32.7485, 87.8286) |
| Luminance | 0.3275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.37
Easter Purple
#C071FE
ΔE00 3.66
Liliac
#C48EFD
ΔE00 5.16
Light Urple
#B36FF6
ΔE00 5.26
Bright Lavender
#C760FF
ΔE00 5.78
Bright Lilac
#C95EFB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97AF2 #A3F27A
analogous
#8D7AF2 #C97AF2 #F27ADF
triadic
#C97AF2 #F2C97A #7AF2C9
tetradic
#C97AF2 #F28D7A #A3F27A #7ADFF2
square
#C97AF2 #F28D7A #A3F27A #7ADFF2
split-complementary
#C97AF2 #DFF27A #7AF28D
monochromatic
#9816DC #B242ED #C97AF2 #E0B2F7 #F4E3FC
Accessibility & contrast
On white
2.78
#C97AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#C97AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97AF2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97AF2 | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C58DAB
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c97af2; /* rgb */ color: rgb(201, 122, 242); /* oklch */ color: oklch(71.0% 0.184 313.0);
Tailwind
colors: {
custom: {
50: '#dca3f7',
500: '#c97af2',
950: '#000000',
},
}SCSS
$custom: #c97af2; $custom-light: #dca3f7; $custom-dark: #000000;
JSON
{
"hex": "#c97af2",
"rgb": {
"r": 201,
"g": 122,
"b": 242
},
"hsl": {
"h": 279.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.71045,
"c": 0.18412,
"h": 313
},
"luminance": 0.32747
}Semantic roles & 50–950 ramp
primary
#C97AF2
secondary
#DFF3D4
accent
#DF0751
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85