#C978FC#C978FC
#C978FC is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.198 H 310.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C978FC |
|---|---|
| RGB | rgb(201, 120, 252) |
| HSL | hsl(277, 96%, 73%) |
| HSV | hsv(277, 52%, 99%) |
| CMYK | cmyk(20.2%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(64.06, 54.10, -53.66) |
| CIE-LCH | lch(64.06, 76.19, 315.23°) |
| OKLab | oklab(71.29% 0.1291 -0.1502) |
| OKLCH | oklch(71.29% 0.198 310.7) |
| XYZ | xyz(48.3713, 32.8797, 95.8748) |
| Luminance | 0.3288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.78
Easter Purple
#C071FE
ΔE00 2.44
Light Urple
#B36FF6
ΔE00 4.53
Bright Lavender
#C760FF
ΔE00 4.92
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C978FC #ABFC78
analogous
#8778FC #C978FC #FC78ED
triadic
#C978FC #FCC978 #78FCC9
tetradic
#C978FC #FC8778 #ABFC78 #78EDFC
square
#C978FC #FC8778 #ABFC78 #78EDFC
split-complementary
#C978FC #EDFC78 #78FC87
monochromatic
#9805F4 #B13CFB #C978FC #E1B4FD #F3E1FE
Accessibility & contrast
On white
2.77
#C978FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#C978FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C978FC
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C978FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C978FC | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#C38FAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c978fc; /* rgb */ color: rgb(201, 120, 252); /* oklch */ color: oklch(71.3% 0.198 310.7);
Tailwind
colors: {
custom: {
50: '#dca1fe',
500: '#c978fc',
950: '#000000',
},
}SCSS
$custom: #c978fc; $custom-light: #dca1fe; $custom-dark: #000000;
JSON
{
"hex": "#c978fc",
"rgb": {
"r": 201,
"g": 120,
"b": 252
},
"hsl": {
"h": 276.818,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.71287,
"c": 0.19805,
"h": 310.7
},
"luminance": 0.32879
}Semantic roles & 50–950 ramp
primary
#C978FC
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86