#C97AFE#C97AFE
#C97AFE is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.197 H 310.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C97AFE |
|---|---|
| RGB | rgb(201, 122, 254) |
| HSL | hsl(276, 99%, 74%) |
| HSV | hsv(276, 52%, 100%) |
| CMYK | cmyk(20.9%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(64.56, 53.50, -53.97) |
| CIE-LCH | lch(64.56, 75.99, 314.75°) |
| OKLab | oklab(71.69% 0.1266 -0.1511) |
| OKLCH | oklch(71.69% 0.197 310) |
| XYZ | xyz(48.9330, 33.4932, 97.6338) |
| Luminance | 0.3349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.97
Easter Purple
#C071FE
ΔE00 2.68
Light Urple
#B36FF6
ΔE00 4.74
Liliac
#C48EFD
ΔE00 4.80
Bright Lavender
#C760FF
ΔE00 5.32
Bright Lilac
#C95EFB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97AFE #AFFE7A
analogous
#877AFE #C97AFE #FE7AF1
triadic
#C97AFE #FEC97A #7AFEC9
tetradic
#C97AFE #FE877A #AFFE7A #7AF1FE
square
#C97AFE #FE877A #AFFE7A #7AF1FE
split-complementary
#C97AFE #F1FE7A #7AFE87
monochromatic
#9702FC #B03DFE #C97AFE #E2B7FE #F3E1FF
Accessibility & contrast
On white
2.73
#C97AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#C97AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97AFE
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97AFE | 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)
#5599FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#C291B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c97afe; /* rgb */ color: rgb(201, 122, 254); /* oklch */ color: oklch(71.7% 0.197 310.0);
Tailwind
colors: {
custom: {
50: '#dca3ff',
500: '#c97afe',
950: '#000000',
},
}SCSS
$custom: #c97afe; $custom-light: #dca3ff; $custom-dark: #000000;
JSON
{
"hex": "#c97afe",
"rgb": {
"r": 201,
"g": 122,
"b": 254
},
"hsl": {
"h": 275.909,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.71686,
"c": 0.19718,
"h": 310
},
"luminance": 0.33492
}Semantic roles & 50–950 ramp
primary
#C97AFE
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86