#D795FF#D795FF
#D795FF is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.3% C 0.161 H 311.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D795FF |
|---|---|
| RGB | rgb(215, 149, 255) |
| HSL | hsl(277, 100%, 79%) |
| HSV | hsv(277, 42%, 100%) |
| CMYK | cmyk(15.7%, 41.6%, 0%, 0%) |
| CIE-LAB | lab(71.67, 43.33, -43.21) |
| CIE-LCH | lch(71.67, 61.19, 315.08°) |
| OKLab | oklab(77.33% 0.1069 -0.1197) |
| OKLCH | oklch(77.33% 0.161 311.8) |
| XYZ | xyz(56.8186, 43.1630, 99.9265) |
| Luminance | 0.4316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.16
Liliac
#C48EFD
ΔE00 3.86
Lilac (survey)
#CEA2FD
ΔE00 3.99
Pastel Purple
#CAA0FF
ΔE00 4.11
Lavender (survey)
#C79FEF
ΔE00 4.95
Mauve
#E0B0FF
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D795FF #BDFF95
analogous
#A295FF #D795FF #FF95F2
triadic
#D795FF #FFD795 #95FFD7
tetradic
#D795FF #FFA295 #BDFF95 #95F2FF
square
#D795FF #FFA295 #BDFF95 #95F2FF
split-complementary
#D795FF #F2FF95 #95FFA2
monochromatic
#A91BFF #C058FF #D795FF #EED2FF #F3E0FF
Accessibility & contrast
On white
2.18
#D795FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#D795FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D795FF
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D795FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D795FF | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#D3A5BE
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d795ff; /* rgb */ color: rgb(215, 149, 255); /* oklch */ color: oklch(77.3% 0.161 311.8);
Tailwind
colors: {
custom: {
50: '#e5b5ff',
500: '#d795ff',
950: '#000000',
},
}SCSS
$custom: #d795ff; $custom-light: #e5b5ff; $custom-dark: #000000;
JSON
{
"hex": "#d795ff",
"rgb": {
"r": 215,
"g": 149,
"b": 255
},
"hsl": {
"h": 277.358,
"s": 100,
"l": 79.216
},
"oklch": {
"l": 0.77332,
"c": 0.16052,
"h": 311.8
},
"luminance": 0.43162
}Semantic roles & 50–950 ramp
primary
#D795FF
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086