#C790FA#C790FA
#C790FA is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.7% C 0.157 H 306.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C790FA |
|---|---|
| RGB | rgb(199, 144, 250) |
| HSL | hsl(271, 91%, 77%) |
| HSV | hsv(271, 42%, 98%) |
| CMYK | cmyk(20.4%, 42.4%, 0%, 2%) |
| CIE-LAB | lab(68.74, 40.43, -45.18) |
| CIE-LCH | lch(68.74, 60.63, 311.82°) |
| OKLab | oklab(74.7% 0.0944 -0.1257) |
| OKLCH | oklch(74.7% 0.157 306.9) |
| XYZ | xyz(50.7783, 38.9912, 95.2749) |
| Luminance | 0.3899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.07
Baby Purple
#CA9BF7
ΔE00 3.05
Pastel Purple
#CAA0FF
ΔE00 3.98
Lilac (survey)
#CEA2FD
ΔE00 4.54
Lavender (survey)
#C79FEF
ΔE00 4.92
Light Purple
#BF77F6
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C790FA #C3FA90
analogous
#9290FA #C790FA #FA90F8
triadic
#C790FA #FAC790 #90FAC7
tetradic
#C790FA #FA9290 #C3FA90 #90F8FA
square
#C790FA #FA9290 #C3FA90 #90F8FA
split-complementary
#C790FA #F8FA90 #90FA92
monochromatic
#8C1BF5 #A955F7 #C790FA #E5CBFD #F0E2FE
Accessibility & contrast
On white
2.39
#C790FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#C790FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C790FA
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C790FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C790FA | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#C0A1B9
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c790fa; /* rgb */ color: rgb(199, 144, 250); /* oklch */ color: oklch(74.7% 0.157 306.9);
Tailwind
colors: {
custom: {
50: '#dab1fc',
500: '#c790fa',
950: '#000000',
},
}SCSS
$custom: #c790fa; $custom-light: #dab1fc; $custom-dark: #000000;
JSON
{
"hex": "#c790fa",
"rgb": {
"r": 199,
"g": 144,
"b": 250
},
"hsl": {
"h": 271.132,
"s": 91.379,
"l": 77.255
},
"oklch": {
"l": 0.74696,
"c": 0.15723,
"h": 306.9
},
"luminance": 0.38991
}Semantic roles & 50–950 ramp
primary
#C790FA
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085