#C97CFE#C97CFE
#C97CFE is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.194 H 309.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C97CFE |
|---|---|
| RGB | rgb(201, 124, 254) |
| HSL | hsl(276, 98%, 74%) |
| HSV | hsv(276, 51%, 100%) |
| CMYK | cmyk(20.9%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(64.95, 52.47, -53.34) |
| CIE-LCH | lch(64.95, 74.82, 314.53°) |
| OKLab | oklab(71.98% 0.124 -0.1493) |
| OKLCH | oklch(71.98% 0.194 309.7) |
| XYZ | xyz(49.1811, 33.9894, 97.7165) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.18
Easter Purple
#C071FE
ΔE00 3.04
Liliac
#C48EFD
ΔE00 4.37
Light Urple
#B36FF6
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 5.76
Bright Lilac
#C95EFB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97CFE #B1FE7C
analogous
#887CFE #C97CFE #FE7CF2
triadic
#C97CFE #FEC97C #7CFEC9
tetradic
#C97CFE #FE887C #B1FE7C #7CF2FE
square
#C97CFE #FE887C #B1FE7C #7CF2FE
split-complementary
#C97CFE #F2FE7C #7CFE88
monochromatic
#9703FD #B03FFE #C97CFE #E2B9FE #F2E1FF
Accessibility & contrast
On white
2.69
#C97CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#C97CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97CFE
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97CFE | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C292B2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c97cfe; /* rgb */ color: rgb(201, 124, 254); /* oklch */ color: oklch(72.0% 0.194 309.7);
Tailwind
colors: {
custom: {
50: '#dca4ff',
500: '#c97cfe',
950: '#000000',
},
}SCSS
$custom: #c97cfe; $custom-light: #dca4ff; $custom-dark: #000000;
JSON
{
"hex": "#c97cfe",
"rgb": {
"r": 201,
"g": 124,
"b": 254
},
"hsl": {
"h": 275.538,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.71978,
"c": 0.19412,
"h": 309.7
},
"luminance": 0.33989
}Semantic roles & 50–950 ramp
primary
#C97CFE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86