#C780EB#C780EB
#C780EB is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.166 H 313.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C780EB |
|---|---|
| RGB | rgb(199, 128, 235) |
| HSL | hsl(280, 73%, 71%) |
| HSV | hsv(280, 46%, 92%) |
| CMYK | cmyk(15.3%, 45.5%, 0%, 7.8%) |
| CIE-LAB | lab(64.63, 45.78, -43.41) |
| CIE-LCH | lch(64.63, 63.09, 316.52°) |
| OKLab | oklab(71.39% 0.1141 -0.1205) |
| OKLCH | oklch(71.39% 0.166 313.4) |
| XYZ | xyz(46.2653, 33.5797, 82.6255) |
| Luminance | 0.3358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.68
Liliac
#C48EFD
ΔE00 4.53
Easter Purple
#C071FE
ΔE00 5.26
Light Urple
#B36FF6
ΔE00 6.47
Orchid
#DA70D6
ΔE00 6.56
Baby Purple
#CA9BF7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C780EB #A4EB80
analogous
#9180EB #C780EB #EB80D9
triadic
#C780EB #EBC780 #80EBC7
tetradic
#C780EB #EB9180 #A4EB80 #80D9EB
square
#C780EB #EB9180 #A4EB80 #80D9EB
split-complementary
#C780EB #D9EB80 #80EB91
monochromatic
#9521D0 #B04BE3 #C780EB #DEB5F3 #F3E5FB
Accessibility & contrast
On white
2.72
#C780EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#C780EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C780EB
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C780EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C780EB | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7D9FE8
Tritanopia (blue-blind)
#C490AA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c780eb; /* rgb */ color: rgb(199, 128, 235); /* oklch */ color: oklch(71.4% 0.166 313.4);
Tailwind
colors: {
custom: {
50: '#daa6f2',
500: '#c780eb',
950: '#000000',
},
}SCSS
$custom: #c780eb; $custom-light: #daa6f2; $custom-dark: #000000;
JSON
{
"hex": "#c780eb",
"rgb": {
"r": 199,
"g": 128,
"b": 235
},
"hsl": {
"h": 279.813,
"s": 72.789,
"l": 71.176
},
"oklch": {
"l": 0.71386,
"c": 0.16599,
"h": 313.4
},
"luminance": 0.33579
}Semantic roles & 50–950 ramp
primary
#C780EB
secondary
#DFF1D5
accent
#D51153
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85