#D58DFF#D58DFF
#D58DFF is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.9% C 0.173 H 312.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D58DFF |
|---|---|
| RGB | rgb(213, 141, 255) |
| HSL | hsl(278, 100%, 78%) |
| HSV | hsv(278, 45%, 100%) |
| CMYK | cmyk(16.5%, 44.7%, 0%, 0%) |
| CIE-LAB | lab(69.77, 47.01, -46.20) |
| CIE-LCH | lch(69.77, 65.91, 315.49°) |
| OKLab | oklab(75.86% 0.1156 -0.1284) |
| OKLCH | oklch(75.86% 0.173 312) |
| XYZ | xyz(55.0123, 40.4170, 99.4916) |
| Luminance | 0.4042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.22
Baby Purple
#CA9BF7
ΔE00 4.42
Pastel Purple
#CAA0FF
ΔE00 5.44
Lilac (survey)
#CEA2FD
ΔE00 5.59
Lavender (survey)
#C79FEF
ΔE00 6.30
Light Purple
#BF77F6
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D58DFF #B7FF8D
analogous
#9C8DFF #D58DFF #FF8DF0
triadic
#D58DFF #FFD58D #8DFFD5
tetradic
#D58DFF #FF9C8D #B7FF8D #8DF0FF
square
#D58DFF #FF9C8D #B7FF8D #8DF0FF
split-complementary
#D58DFF #F0FF8D #8DFF9C
monochromatic
#A813FF #BE50FF #D58DFF #ECCAFF #F4E0FF
Accessibility & contrast
On white
2.31
#D58DFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#D58DFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D58DFF
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D58DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D58DFF | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#D19EBA
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d58dff; /* rgb */ color: rgb(213, 141, 255); /* oklch */ color: oklch(75.9% 0.173 312.0);
Tailwind
colors: {
custom: {
50: '#e4b0ff',
500: '#d58dff',
950: '#000000',
},
}SCSS
$custom: #d58dff; $custom-light: #e4b0ff; $custom-dark: #000000;
JSON
{
"hex": "#d58dff",
"rgb": {
"r": 213,
"g": 141,
"b": 255
},
"hsl": {
"h": 277.895,
"s": 100,
"l": 77.647
},
"oklch": {
"l": 0.75861,
"c": 0.17276,
"h": 312
},
"luminance": 0.40416
}Semantic roles & 50–950 ramp
primary
#D58DFF
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086