#C976F8#C976F8
#C976F8 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.8% C 0.197 H 311.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C976F8 |
|---|---|
| RGB | rgb(201, 118, 248) |
| HSL | hsl(278, 90%, 72%) |
| HSV | hsv(278, 52%, 97%) |
| CMYK | cmyk(19%, 52.4%, 0%, 2.7%) |
| CIE-LAB | lab(63.47, 54.26, -52.40) |
| CIE-LCH | lch(63.47, 75.43, 316.00°) |
| OKLab | oklab(70.78% 0.1313 -0.1466) |
| OKLCH | oklch(70.78% 0.197 311.9) |
| XYZ | xyz(47.5061, 32.1527, 92.4923) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.76
Easter Purple
#C071FE
ΔE00 2.49
Light Urple
#B36FF6
ΔE00 4.44
Bright Lavender
#C760FF
ΔE00 4.61
Bright Lilac
#C95EFB
ΔE00 4.79
Liliac
#C48EFD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C976F8 #A5F876
analogous
#8876F8 #C976F8 #F876E6
triadic
#C976F8 #F8C976 #76F8C9
tetradic
#C976F8 #F88876 #A5F876 #76E6F8
square
#C976F8 #F88876 #A5F876 #76E6F8
split-complementary
#C976F8 #E6F876 #76F888
monochromatic
#980CE8 #B23CF5 #C976F8 #E0B0FB #F4E2FE
Accessibility & contrast
On white
2.83
#C976F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#C976F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C976F8
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C976F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C976F8 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C48CAC
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c976f8; /* rgb */ color: rgb(201, 118, 248); /* oklch */ color: oklch(70.8% 0.197 311.9);
Tailwind
colors: {
custom: {
50: '#dca0fb',
500: '#c976f8',
950: '#000000',
},
}SCSS
$custom: #c976f8; $custom-light: #dca0fb; $custom-dark: #000000;
JSON
{
"hex": "#c976f8",
"rgb": {
"r": 201,
"g": 118,
"b": 248
},
"hsl": {
"h": 278.308,
"s": 90.278,
"l": 71.765
},
"oklch": {
"l": 0.70782,
"c": 0.1968,
"h": 311.9
},
"luminance": 0.32152
}Semantic roles & 50–950 ramp
primary
#C976F8
secondary
#E0F5D4
accent
#E60053
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85