#C793FA#C793FA
#C793FA is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.2% C 0.152 H 306.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C793FA |
|---|---|
| RGB | rgb(199, 147, 250) |
| HSL | hsl(270, 91%, 78%) |
| HSV | hsv(270, 41%, 98%) |
| CMYK | cmyk(20.4%, 41.2%, 0%, 2%) |
| CIE-LAB | lab(69.41, 38.80, -44.14) |
| CIE-LCH | lch(69.41, 58.77, 311.31°) |
| OKLab | oklab(75.19% 0.0903 -0.1228) |
| OKLCH | oklch(75.19% 0.152 306.3) |
| XYZ | xyz(51.2388, 39.9121, 95.4284) |
| Luminance | 0.3991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.59
Baby Purple
#CA9BF7
ΔE00 2.34
Pastel Purple
#CAA0FF
ΔE00 3.24
Lilac (survey)
#CEA2FD
ΔE00 3.81
Lavender (survey)
#C79FEF
ΔE00 4.25
Pale Purple
#B790D4
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C793FA #C6FA93
analogous
#9393FA #C793FA #FA93FA
triadic
#C793FA #FAC793 #93FAC7
tetradic
#C793FA #FA9393 #C6FA93 #93FAFA
square
#C793FA #FA9393 #C6FA93 #93FAFA
split-complementary
#C793FA #FAFA93 #93FA93
monochromatic
#8A1EF5 #A959F7 #C793FA #E5CDFD #F0E2FE
Accessibility & contrast
On white
2.34
#C793FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#C793FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C793FA
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C793FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C793FA | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#BFA3BB
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c793fa; /* rgb */ color: rgb(199, 147, 250); /* oklch */ color: oklch(75.2% 0.152 306.3);
Tailwind
colors: {
custom: {
50: '#dab3fc',
500: '#c793fa',
950: '#000000',
},
}SCSS
$custom: #c793fa; $custom-light: #dab3fc; $custom-dark: #000000;
JSON
{
"hex": "#c793fa",
"rgb": {
"r": 199,
"g": 147,
"b": 250
},
"hsl": {
"h": 270.291,
"s": 91.15,
"l": 77.843
},
"oklch": {
"l": 0.75194,
"c": 0.15237,
"h": 306.3
},
"luminance": 0.39912
}Semantic roles & 50–950 ramp
primary
#C793FA
secondary
#E5F6D5
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085