#C97CFD#C97CFD
#C97CFD is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.193 H 310.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C97CFD |
|---|---|
| RGB | rgb(201, 124, 253) |
| HSL | hsl(276, 97%, 74%) |
| HSV | hsv(276, 51%, 99%) |
| CMYK | cmyk(20.6%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(64.90, 52.25, -52.87) |
| CIE-LCH | lch(64.90, 74.34, 314.66°) |
| OKLab | oklab(71.92% 0.124 -0.148) |
| OKLCH | oklch(71.92% 0.193 310) |
| XYZ | xyz(49.0213, 33.9255, 96.8753) |
| Luminance | 0.3392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 3.08
Liliac
#C48EFD
ΔE00 4.37
Light Urple
#B36FF6
ΔE00 5.03
Bright Lavender
#C760FF
ΔE00 5.77
Bright Lilac
#C95EFB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C97CFD #B0FD7C
analogous
#897CFD #C97CFD #FD7CF0
triadic
#C97CFD #FDC97C #7CFDC9
tetradic
#C97CFD #FD897C #B0FD7C #7CF0FD
square
#C97CFD #FD897C #B0FD7C #7CF0FD
split-complementary
#C97CFD #F0FD7C #7CFD89
monochromatic
#9704FB #B040FC #C97CFD #E2B8FE #F3E1FF
Accessibility & contrast
On white
2.70
#C97CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#C97CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C97CFD
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C97CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C97CFD | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C292B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c97cfd; /* rgb */ color: rgb(201, 124, 253); /* oklch */ color: oklch(71.9% 0.193 310.0);
Tailwind
colors: {
custom: {
50: '#dca4fe',
500: '#c97cfd',
950: '#000000',
},
}SCSS
$custom: #c97cfd; $custom-light: #dca4fe; $custom-dark: #000000;
JSON
{
"hex": "#c97cfd",
"rgb": {
"r": 201,
"g": 124,
"b": 253
},
"hsl": {
"h": 275.814,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.71924,
"c": 0.19302,
"h": 310
},
"luminance": 0.33925
}Semantic roles & 50–950 ramp
primary
#C97CFD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86