#C795F9#C795F9
#C795F9 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.5% C 0.148 H 306.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C795F9 |
|---|---|
| RGB | rgb(199, 149, 249) |
| HSL | hsl(270, 89%, 78%) |
| HSV | hsv(270, 40%, 98%) |
| CMYK | cmyk(20.1%, 40.2%, 0%, 2.4%) |
| CIE-LAB | lab(69.81, 37.49, -42.97) |
| CIE-LCH | lch(69.81, 57.02, 311.10°) |
| OKLab | oklab(75.48% 0.0873 -0.1194) |
| OKLCH | oklch(75.48% 0.148 306.2) |
| XYZ | xyz(51.3961, 40.4769, 94.7094) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.79
Liliac
#C48EFD
ΔE00 2.13
Pastel Purple
#CAA0FF
ΔE00 2.75
Lilac (survey)
#CEA2FD
ΔE00 3.29
Lavender (survey)
#C79FEF
ΔE00 3.69
Pale Purple
#B790D4
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C795F9 #C7F995
analogous
#9595F9 #C795F9 #F995F9
triadic
#C795F9 #F9C795 #95F9C7
tetradic
#C795F9 #F99595 #C7F995 #95F9F9
square
#C795F9 #F99595 #C7F995 #95F9F9
split-complementary
#C795F9 #F9F995 #95F995
monochromatic
#8A21F2 #A85BF6 #C795F9 #E6CFFC #F0E2FD
Accessibility & contrast
On white
2.31
#C795F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C795F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C795F9
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C795F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C795F9 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#C0A5BB
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c795f9; /* rgb */ color: rgb(199, 149, 249); /* oklch */ color: oklch(75.5% 0.148 306.2);
Tailwind
colors: {
custom: {
50: '#d9b5fb',
500: '#c795f9',
950: '#000000',
},
}SCSS
$custom: #c795f9; $custom-light: #d9b5fb; $custom-dark: #000000;
JSON
{
"hex": "#c795f9",
"rgb": {
"r": 199,
"g": 149,
"b": 249
},
"hsl": {
"h": 270,
"s": 89.286,
"l": 78.039
},
"oklch": {
"l": 0.75482,
"c": 0.14791,
"h": 306.2
},
"luminance": 0.40477
}Semantic roles & 50–950 ramp
primary
#C795F9
secondary
#E6F5D6
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085