#C780FC#C780FC
#C780FC is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.185 H 308.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C780FC |
|---|---|
| RGB | rgb(199, 128, 252) |
| HSL | hsl(274, 95%, 75%) |
| HSV | hsv(274, 49%, 99%) |
| CMYK | cmyk(21%, 49.2%, 0%, 1.2%) |
| CIE-LAB | lab(65.44, 49.43, -51.48) |
| CIE-LCH | lch(65.44, 71.37, 313.84°) |
| OKLab | oklab(72.26% 0.1162 -0.144) |
| OKLCH | oklch(72.26% 0.185 308.9) |
| XYZ | xyz(48.8397, 34.6094, 96.1840) |
| Luminance | 0.3461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.55
Liliac
#C48EFD
ΔE00 3.43
Easter Purple
#C071FE
ΔE00 3.73
Light Urple
#B36FF6
ΔE00 5.42
Bright Lavender
#C760FF
ΔE00 6.63
Baby Purple
#CA9BF7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C780FC #B5FC80
analogous
#8980FC #C780FC #FC80F3
triadic
#C780FC #FCC780 #80FCC7
tetradic
#C780FC #FC8980 #B5FC80 #80F3FC
square
#C780FC #FC8980 #B5FC80 #80F3FC
split-complementary
#C780FC #F3FC80 #80FC89
monochromatic
#9208F9 #AD44FB #C780FC #E1BCFD #F2E1FE
Accessibility & contrast
On white
2.65
#C780FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#C780FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C780FC
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C780FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C780FC | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#C095B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c780fc; /* rgb */ color: rgb(199, 128, 252); /* oklch */ color: oklch(72.3% 0.185 308.9);
Tailwind
colors: {
custom: {
50: '#daa7fe',
500: '#c780fc',
950: '#000000',
},
}SCSS
$custom: #c780fc; $custom-light: #daa7fe; $custom-dark: #000000;
JSON
{
"hex": "#c780fc",
"rgb": {
"r": 199,
"g": 128,
"b": 252
},
"hsl": {
"h": 274.355,
"s": 95.385,
"l": 74.51
},
"oklch": {
"l": 0.7226,
"c": 0.18504,
"h": 308.9
},
"luminance": 0.34609
}Semantic roles & 50–950 ramp
primary
#C780FC
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86