#C978F7#C978F7
#C978F7 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.0% C 0.193 H 311.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C978F7 |
|---|---|
| RGB | rgb(201, 120, 247) |
| HSL | hsl(278, 89%, 72%) |
| HSV | hsv(278, 51%, 97%) |
| CMYK | cmyk(18.6%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(63.81, 53.03, -51.31) |
| CIE-LCH | lch(63.81, 73.79, 315.95°) |
| OKLab | oklab(71.02% 0.1286 -0.1434) |
| OKLCH | oklch(71.02% 0.193 311.9) |
| XYZ | xyz(47.5894, 32.5669, 91.7567) |
| Luminance | 0.3257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.85
Easter Purple
#C071FE
ΔE00 2.84
Light Urple
#B36FF6
ΔE00 4.70
Bright Lavender
#C760FF
ΔE00 5.08
Bright Lilac
#C95EFB
ΔE00 5.24
Liliac
#C48EFD
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C978F7 #A6F778
analogous
#8A78F7 #C978F7 #F778E5
triadic
#C978F7 #F7C978 #78F7C9
tetradic
#C978F7 #F78A78 #A6F778 #78E5F7
square
#C978F7 #F78A78 #A6F778 #78E5F7
split-complementary
#C978F7 #E5F778 #78F78A
monochromatic
#980EE7 #B23EF4 #C978F7 #E0B2FA #F3E2FD
Accessibility & contrast
On white
2.80
#C978F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#C978F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C978F7
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C978F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C978F7 | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#719CF4
Tritanopia (blue-blind)
#C48DAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c978f7; /* rgb */ color: rgb(201, 120, 247); /* oklch */ color: oklch(71.0% 0.193 311.9);
Tailwind
colors: {
custom: {
50: '#dca1fa',
500: '#c978f7',
950: '#000000',
},
}SCSS
$custom: #c978f7; $custom-light: #dca1fa; $custom-dark: #000000;
JSON
{
"hex": "#c978f7",
"rgb": {
"r": 201,
"g": 120,
"b": 247
},
"hsl": {
"h": 278.268,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.71017,
"c": 0.19264,
"h": 311.9
},
"luminance": 0.32566
}Semantic roles & 50–950 ramp
primary
#C978F7
secondary
#E1F5D5
accent
#E50053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85