#C780F2#C780F2
#C780F2 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.174 H 311.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C780F2 |
|---|---|
| RGB | rgb(199, 128, 242) |
| HSL | hsl(277, 81%, 73%) |
| HSV | hsv(277, 47%, 95%) |
| CMYK | cmyk(17.8%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(64.96, 47.27, -46.76) |
| CIE-LCH | lch(64.96, 66.49, 315.31°) |
| OKLab | oklab(71.74% 0.1151 -0.1302) |
| OKLCH | oklch(71.74% 0.174 311.5) |
| XYZ | xyz(47.2965, 33.9922, 88.0568) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Liliac
#C48EFD
ΔE00 3.86
Easter Purple
#C071FE
ΔE00 4.45
Light Urple
#B36FF6
ΔE00 5.87
Baby Purple
#CA9BF7
ΔE00 6.65
Bright Lavender
#C760FF
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C780F2 #ABF280
analogous
#8E80F2 #C780F2 #F280E4
triadic
#C780F2 #F2C780 #80F2C7
tetradic
#C780F2 #F28E80 #ABF280 #80E4F2
square
#C780F2 #F28E80 #ABF280 #80E4F2
split-complementary
#C780F2 #E4F280 #80F28E
monochromatic
#9517E1 #AF48EC #C780F2 #DFB8F8 #F3E3FC
Accessibility & contrast
On white
2.69
#C780F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#C780F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C780F2
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C780F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C780F2 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#C292AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c780f2; /* rgb */ color: rgb(199, 128, 242); /* oklch */ color: oklch(71.7% 0.174 311.5);
Tailwind
colors: {
custom: {
50: '#daa6f7',
500: '#c780f2',
950: '#000000',
},
}SCSS
$custom: #c780f2; $custom-light: #daa6f7; $custom-dark: #000000;
JSON
{
"hex": "#c780f2",
"rgb": {
"r": 199,
"g": 128,
"b": 242
},
"hsl": {
"h": 277.368,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.71739,
"c": 0.1738,
"h": 311.5
},
"luminance": 0.33991
}Semantic roles & 50–950 ramp
primary
#C780F2
secondary
#E2F4D7
accent
#DE0858
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85