#C780F8#C780F8
#C780F8 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.0% C 0.181 H 309.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C780F8 |
|---|---|
| RGB | rgb(199, 128, 248) |
| HSL | hsl(276, 90%, 74%) |
| HSV | hsv(276, 48%, 97%) |
| CMYK | cmyk(19.8%, 48.4%, 0%, 2.7%) |
| CIE-LAB | lab(65.25, 48.56, -49.60) |
| CIE-LCH | lch(65.25, 69.41, 314.39°) |
| OKLab | oklab(72.05% 0.1158 -0.1385) |
| OKLCH | oklch(72.05% 0.181 309.9) |
| XYZ | xyz(48.2125, 34.3586, 92.8808) |
| Luminance | 0.3436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.57
Liliac
#C48EFD
ΔE00 3.52
Easter Purple
#C071FE
ΔE00 3.94
Light Urple
#B36FF6
ΔE00 5.54
Bright Lavender
#C760FF
ΔE00 6.73
Baby Purple
#CA9BF7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C780F8 #B1F880
analogous
#8B80F8 #C780F8 #F880ED
triadic
#C780F8 #F8C780 #80F8C7
tetradic
#C780F8 #F88B80 #B1F880 #80EDF8
square
#C780F8 #F88B80 #B1F880 #80EDF8
split-complementary
#C780F8 #EDF880 #80F88B
monochromatic
#940DF0 #AD46F5 #C780F8 #E1BAFB #F2E2FD
Accessibility & contrast
On white
2.67
#C780F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#C780F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C780F8
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C780F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C780F8 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#C194B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c780f8; /* rgb */ color: rgb(199, 128, 248); /* oklch */ color: oklch(72.0% 0.181 309.9);
Tailwind
colors: {
custom: {
50: '#daa7fb',
500: '#c780f8',
950: '#000000',
},
}SCSS
$custom: #c780f8; $custom-light: #daa7fb; $custom-dark: #000000;
JSON
{
"hex": "#c780f8",
"rgb": {
"r": 199,
"g": 128,
"b": 248
},
"hsl": {
"h": 275.5,
"s": 89.552,
"l": 73.725
},
"oklch": {
"l": 0.72049,
"c": 0.18053,
"h": 309.9
},
"luminance": 0.34358
}Semantic roles & 50–950 ramp
primary
#C780F8
secondary
#E3F5D6
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85