#C784F2#C784F2
#C784F2 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.4% C 0.167 H 310.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C784F2 |
|---|---|
| RGB | rgb(199, 132, 242) |
| HSL | hsl(277, 81%, 73%) |
| HSV | hsv(277, 45%, 95%) |
| CMYK | cmyk(17.8%, 45.5%, 0%, 5.1%) |
| CIE-LAB | lab(65.79, 45.14, -45.44) |
| CIE-LCH | lch(65.79, 64.05, 314.81°) |
| OKLab | oklab(72.36% 0.1096 -0.1264) |
| OKLCH | oklch(72.36% 0.167 310.9) |
| XYZ | xyz(47.8286, 35.0563, 88.2341) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.13
Light Purple
#BF77F6
ΔE00 3.70
Easter Purple
#C071FE
ΔE00 5.26
Baby Purple
#CA9BF7
ΔE00 5.70
Light Urple
#B36FF6
ΔE00 6.59
Pastel Purple
#CAA0FF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C784F2 #AFF284
analogous
#9084F2 #C784F2 #F284E6
triadic
#C784F2 #F2C784 #84F2C7
tetradic
#C784F2 #F29084 #AFF284 #84E6F2
square
#C784F2 #F29084 #AFF284 #84E6F2
split-complementary
#C784F2 #E6F284 #84F290
monochromatic
#9418E4 #AE4DEC #C784F2 #E0BBF8 #F2E3FC
Accessibility & contrast
On white
2.62
#C784F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#C784F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C784F2
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C784F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C784F2 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#C295B0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c784f2; /* rgb */ color: rgb(199, 132, 242); /* oklch */ color: oklch(72.4% 0.167 310.9);
Tailwind
colors: {
custom: {
50: '#daa9f7',
500: '#c784f2',
950: '#000000',
},
}SCSS
$custom: #c784f2; $custom-light: #daa9f7; $custom-dark: #000000;
JSON
{
"hex": "#c784f2",
"rgb": {
"r": 199,
"g": 132,
"b": 242
},
"hsl": {
"h": 276.545,
"s": 80.882,
"l": 73.333
},
"oklch": {
"l": 0.72363,
"c": 0.16734,
"h": 310.9
},
"luminance": 0.35055
}Semantic roles & 50–950 ramp
primary
#C784F2
secondary
#E2F4D7
accent
#DD085C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85