#C780ED#C780ED
#C780ED is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.168 H 312.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C780ED |
|---|---|
| RGB | rgb(199, 128, 237) |
| HSL | hsl(279, 75%, 72%) |
| HSV | hsv(279, 46%, 93%) |
| CMYK | cmyk(16%, 46%, 0%, 7.1%) |
| CIE-LAB | lab(64.72, 46.21, -44.37) |
| CIE-LCH | lch(64.72, 64.06, 316.16°) |
| OKLab | oklab(71.49% 0.1144 -0.1233) |
| OKLCH | oklch(71.49% 0.168 312.8) |
| XYZ | xyz(46.5558, 33.6959, 84.1558) |
| Luminance | 0.3370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.43
Liliac
#C48EFD
ΔE00 4.32
Easter Purple
#C071FE
ΔE00 5.01
Light Urple
#B36FF6
ΔE00 6.27
Baby Purple
#CA9BF7
ΔE00 6.67
Orchid
#DA70D6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C780ED #A6ED80
analogous
#9180ED #C780ED #ED80DC
triadic
#C780ED #EDC780 #80EDC7
tetradic
#C780ED #ED9180 #A6ED80 #80DCED
square
#C780ED #ED9180 #A6ED80 #80DCED
split-complementary
#C780ED #DCED80 #80ED91
monochromatic
#951ED4 #AF4AE5 #C780ED #DFB6F5 #F3E4FB
Accessibility & contrast
On white
2.71
#C780ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#C780ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C780ED
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C780ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C780ED | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#C491AB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c780ed; /* rgb */ color: rgb(199, 128, 237); /* oklch */ color: oklch(71.5% 0.168 312.8);
Tailwind
colors: {
custom: {
50: '#daa6f3',
500: '#c780ed',
950: '#000000',
},
}SCSS
$custom: #c780ed; $custom-light: #daa6f3; $custom-dark: #000000;
JSON
{
"hex": "#c780ed",
"rgb": {
"r": 199,
"g": 128,
"b": 237
},
"hsl": {
"h": 279.083,
"s": 75.172,
"l": 71.569
},
"oklch": {
"l": 0.71486,
"c": 0.16821,
"h": 312.8
},
"luminance": 0.33695
}Semantic roles & 50–950 ramp
primary
#C780ED
secondary
#E0F2D6
accent
#D70E54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85