#C794F9#C794F9
#C794F9 is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.3% C 0.150 H 306.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C794F9 |
|---|---|
| RGB | rgb(199, 148, 249) |
| HSL | hsl(270, 89%, 78%) |
| HSV | hsv(270, 41%, 98%) |
| CMYK | cmyk(20.1%, 40.6%, 0%, 2.4%) |
| CIE-LAB | lab(69.58, 38.03, -43.32) |
| CIE-LCH | lch(69.58, 57.65, 311.28°) |
| OKLab | oklab(75.31% 0.0887 -0.1204) |
| OKLCH | oklch(75.31% 0.15 306.4) |
| XYZ | xyz(51.2386, 40.1619, 94.6569) |
| Luminance | 0.4016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.91
Baby Purple
#CA9BF7
ΔE00 2.02
Pastel Purple
#CAA0FF
ΔE00 3.00
Lilac (survey)
#CEA2FD
ΔE00 3.53
Lavender (survey)
#C79FEF
ΔE00 3.91
Pale Purple
#B790D4
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C794F9 #C6F994
analogous
#9494F9 #C794F9 #F994F9
triadic
#C794F9 #F9C794 #94F9C7
tetradic
#C794F9 #F99494 #C6F994 #94F9F9
square
#C794F9 #F99494 #C6F994 #94F9F9
split-complementary
#C794F9 #F9F994 #94F994
monochromatic
#8A20F3 #A95AF6 #C794F9 #E5CEFC #F0E2FD
Accessibility & contrast
On white
2.33
#C794F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#C794F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C794F9
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C794F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C794F9 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#89AAF6
Tritanopia (blue-blind)
#C0A4BB
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c794f9; /* rgb */ color: rgb(199, 148, 249); /* oklch */ color: oklch(75.3% 0.150 306.4);
Tailwind
colors: {
custom: {
50: '#d9b4fb',
500: '#c794f9',
950: '#000000',
},
}SCSS
$custom: #c794f9; $custom-light: #d9b4fb; $custom-dark: #000000;
JSON
{
"hex": "#c794f9",
"rgb": {
"r": 199,
"g": 148,
"b": 249
},
"hsl": {
"h": 270.297,
"s": 89.381,
"l": 77.843
},
"oklch": {
"l": 0.75314,
"c": 0.14954,
"h": 306.4
},
"luminance": 0.40161
}Semantic roles & 50–950 ramp
primary
#C794F9
secondary
#E5F5D6
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085