#C784F0#C784F0
#C784F0 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.3% C 0.165 H 311.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C784F0 |
|---|---|
| RGB | rgb(199, 132, 240) |
| HSL | hsl(277, 78%, 73%) |
| HSV | hsv(277, 45%, 94%) |
| CMYK | cmyk(17.1%, 45%, 0%, 5.9%) |
| CIE-LAB | lab(65.70, 44.72, -44.49) |
| CIE-LCH | lch(65.70, 63.07, 315.15°) |
| OKLab | oklab(72.26% 0.1093 -0.1237) |
| OKLCH | oklch(72.26% 0.165 311.5) |
| XYZ | xyz(47.5299, 34.9368, 86.6608) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.34
Light Purple
#BF77F6
ΔE00 3.86
Easter Purple
#C071FE
ΔE00 5.45
Baby Purple
#CA9BF7
ΔE00 5.70
Light Urple
#B36FF6
ΔE00 6.74
Pale Purple
#B790D4
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C784F0 #ADF084
analogous
#9184F0 #C784F0 #F084E3
triadic
#C784F0 #F0C784 #84F0C7
tetradic
#C784F0 #F09184 #ADF084 #84E3F0
square
#C784F0 #F09184 #ADF084 #84E3F0
split-complementary
#C784F0 #E3F084 #84F091
monochromatic
#941BDE #AE4DE9 #C784F0 #E0BBF7 #F3E4FC
Accessibility & contrast
On white
2.63
#C784F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#C784F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C784F0
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C784F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C784F0 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#C395AF
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c784f0; /* rgb */ color: rgb(199, 132, 240); /* oklch */ color: oklch(72.3% 0.165 311.5);
Tailwind
colors: {
custom: {
50: '#daa9f5',
500: '#c784f0',
950: '#000000',
},
}SCSS
$custom: #c784f0; $custom-light: #daa9f5; $custom-dark: #000000;
JSON
{
"hex": "#c784f0",
"rgb": {
"r": 199,
"g": 132,
"b": 240
},
"hsl": {
"h": 277.222,
"s": 78.261,
"l": 72.941
},
"oklch": {
"l": 0.72263,
"c": 0.16507,
"h": 311.5
},
"luminance": 0.34936
}Semantic roles & 50–950 ramp
primary
#C784F0
secondary
#E2F3D8
accent
#DB0B5A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85