#C979FE#C979FE
#C979FE is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.199 H 310.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C979FE |
|---|---|
| RGB | rgb(201, 121, 254) |
| HSL | hsl(276, 99%, 74%) |
| HSV | hsv(276, 52%, 100%) |
| CMYK | cmyk(20.9%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(64.36, 54.01, -54.28) |
| CIE-LCH | lch(64.36, 76.57, 314.86°) |
| OKLab | oklab(71.54% 0.1279 -0.152) |
| OKLCH | oklch(71.54% 0.199 310.1) |
| XYZ | xyz(48.8108, 33.2489, 97.5931) |
| Luminance | 0.3325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.89
Easter Purple
#C071FE
ΔE00 2.51
Light Urple
#B36FF6
ΔE00 4.62
Liliac
#C48EFD
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 5.10
Bright Lilac
#C95EFB
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C979FE #AEFE79
analogous
#8679FE #C979FE #FE79F1
triadic
#C979FE #FEC979 #79FEC9
tetradic
#C979FE #FE8679 #AEFE79 #79F1FE
square
#C979FE #FE8679 #AEFE79 #79F1FE
split-complementary
#C979FE #F1FE79 #79FE86
monochromatic
#9802FB #B13CFE #C979FE #E1B6FE #F3E1FF
Accessibility & contrast
On white
2.75
#C979FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#C979FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C979FE
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C979FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C979FE | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#C290B0
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c979fe; /* rgb */ color: rgb(201, 121, 254); /* oklch */ color: oklch(71.5% 0.199 310.1);
Tailwind
colors: {
custom: {
50: '#dca2ff',
500: '#c979fe',
950: '#000000',
},
}SCSS
$custom: #c979fe; $custom-light: #dca2ff; $custom-dark: #000000;
JSON
{
"hex": "#c979fe",
"rgb": {
"r": 201,
"g": 121,
"b": 254
},
"hsl": {
"h": 276.09,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.71541,
"c": 0.1987,
"h": 310.1
},
"luminance": 0.33248
}Semantic roles & 50–950 ramp
primary
#C979FE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86