#D795FC#D795FC
#D795FC is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.2% C 0.157 H 312.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D795FC |
|---|---|
| RGB | rgb(215, 149, 252) |
| HSL | hsl(278, 94%, 79%) |
| HSV | hsv(278, 41%, 99%) |
| CMYK | cmyk(14.7%, 40.9%, 0%, 1.2%) |
| CIE-LAB | lab(71.54, 42.70, -41.79) |
| CIE-LCH | lch(71.54, 59.75, 315.62°) |
| OKLab | oklab(77.19% 0.1064 -0.1156) |
| OKLCH | oklch(77.19% 0.157 312.6) |
| XYZ | xyz(56.3395, 42.9713, 97.4030) |
| Luminance | 0.4297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.11
Lilac (survey)
#CEA2FD
ΔE00 4.01
Liliac
#C48EFD
ΔE00 4.11
Pastel Purple
#CAA0FF
ΔE00 4.23
Lavender (survey)
#C79FEF
ΔE00 4.76
Violet (CSS)
#EE82EE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D795FC #BAFC95
analogous
#A395FC #D795FC #FC95ED
triadic
#D795FC #FCD795 #95FCD7
tetradic
#D795FC #FCA395 #BAFC95 #95EDFC
square
#D795FC #FCA395 #BAFC95 #95EDFC
split-complementary
#D795FC #EDFC95 #95FCA3
monochromatic
#AA1EF9 #C159FA #D795FC #EDD1FE #F4E1FE
Accessibility & contrast
On white
2.19
#D795FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#D795FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D795FC
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D795FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D795FC | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#D4A4BD
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d795fc; /* rgb */ color: rgb(215, 149, 252); /* oklch */ color: oklch(77.2% 0.157 312.6);
Tailwind
colors: {
custom: {
50: '#e5b5fd',
500: '#d795fc',
950: '#000000',
},
}SCSS
$custom: #d795fc; $custom-light: #e5b5fd; $custom-dark: #000000;
JSON
{
"hex": "#d795fc",
"rgb": {
"r": 215,
"g": 149,
"b": 252
},
"hsl": {
"h": 278.447,
"s": 94.495,
"l": 78.627
},
"oklch": {
"l": 0.77192,
"c": 0.15711,
"h": 312.6
},
"luminance": 0.4297
}Semantic roles & 50–950 ramp
primary
#D795FC
secondary
#E1F6D5
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086