#C780FB#C780FB
#C780FB is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.184 H 309.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C780FB |
|---|---|
| RGB | rgb(199, 128, 251) |
| HSL | hsl(275, 94%, 74%) |
| HSV | hsv(275, 49%, 98%) |
| CMYK | cmyk(20.7%, 49%, 0%, 1.6%) |
| CIE-LAB | lab(65.39, 49.21, -51.01) |
| CIE-LCH | lch(65.39, 70.88, 313.97°) |
| OKLab | oklab(72.21% 0.1161 -0.1426) |
| OKLCH | oklch(72.21% 0.184 309.2) |
| XYZ | xyz(48.6816, 34.5462, 95.3516) |
| Luminance | 0.3454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.54
Liliac
#C48EFD
ΔE00 3.44
Easter Purple
#C071FE
ΔE00 3.77
Light Urple
#B36FF6
ΔE00 5.44
Bright Lavender
#C760FF
ΔE00 6.65
Baby Purple
#CA9BF7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C780FB #B4FB80
analogous
#8A80FB #C780FB #FB80F2
triadic
#C780FB #FBC780 #80FBC7
tetradic
#C780FB #FB8A80 #B4FB80 #80F2FB
square
#C780FB #FB8A80 #B4FB80 #80F2FB
split-complementary
#C780FB #F2FB80 #80FB8A
monochromatic
#9309F7 #AD45F9 #C780FB #E1BBFD #F2E1FE
Accessibility & contrast
On white
2.66
#C780FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#C780FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C780FB
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C780FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C780FB | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#C095B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c780fb; /* rgb */ color: rgb(199, 128, 251); /* oklch */ color: oklch(72.2% 0.184 309.2);
Tailwind
colors: {
custom: {
50: '#daa7fd',
500: '#c780fb',
950: '#000000',
},
}SCSS
$custom: #c780fb; $custom-light: #daa7fd; $custom-dark: #000000;
JSON
{
"hex": "#c780fb",
"rgb": {
"r": 199,
"g": 128,
"b": 251
},
"hsl": {
"h": 274.634,
"s": 93.893,
"l": 74.314
},
"oklch": {
"l": 0.72207,
"c": 0.18391,
"h": 309.2
},
"luminance": 0.34545
}Semantic roles & 50–950 ramp
primary
#C780FB
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86