#C97AF6#C97AF6
#C97AF6 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.188 H 311.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C97AF6 |
|---|---|
| RGB | rgb(201, 122, 246) |
| HSL | hsl(278, 87%, 72%) |
| HSV | hsv(278, 50%, 96%) |
| CMYK | cmyk(18.3%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(64.15, 51.79, -50.21) |
| CIE-LCH | lch(64.15, 72.14, 315.89°) |
| OKLab | oklab(71.26% 0.1259 -0.1402) |
| OKLCH | oklch(71.26% 0.188 311.9) |
| XYZ | xyz(47.6785, 32.9914, 91.0272) |
| Luminance | 0.3299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.05
Easter Purple
#C071FE
ΔE00 3.23
Liliac
#C48EFD
ΔE00 4.96
Light Urple
#B36FF6
ΔE00 5.00
Bright Lavender
#C760FF
ΔE00 5.55
Bright Lilac
#C95EFB
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97AF6 #A7F67A
analogous
#8B7AF6 #C97AF6 #F67AE5
triadic
#C97AF6 #F6C97A #7AF6C9
tetradic
#C97AF6 #F68B7A #A7F67A #7AE5F6
square
#C97AF6 #F68B7A #A7F67A #7AE5F6
split-complementary
#C97AF6 #E5F67A #7AF68B
monochromatic
#9810E6 #B241F2 #C97AF6 #E0B3FA #F3E2FD
Accessibility & contrast
On white
2.76
#C97AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#C97AF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97AF6
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97AF6 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C48EAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c97af6; /* rgb */ color: rgb(201, 122, 246); /* oklch */ color: oklch(71.3% 0.188 311.9);
Tailwind
colors: {
custom: {
50: '#dca3f9',
500: '#c97af6',
950: '#000000',
},
}SCSS
$custom: #c97af6; $custom-light: #dca3f9; $custom-dark: #000000;
JSON
{
"hex": "#c97af6",
"rgb": {
"r": 201,
"g": 122,
"b": 246
},
"hsl": {
"h": 278.226,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.71256,
"c": 0.18846,
"h": 311.9
},
"luminance": 0.3299
}Semantic roles & 50–950 ramp
primary
#C97AF6
secondary
#E1F5D6
accent
#E40254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85