#D388FC#D388FC
#D388FC is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.7% C 0.177 H 312.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D388FC |
|---|---|
| RGB | rgb(211, 136, 252) |
| HSL | hsl(279, 95%, 76%) |
| HSV | hsv(279, 46%, 99%) |
| CMYK | cmyk(16.3%, 46%, 0%, 1.2%) |
| CIE-LAB | lab(68.38, 48.46, -46.77) |
| CIE-LCH | lch(68.38, 67.34, 316.02°) |
| OKLab | oklab(74.73% 0.1196 -0.13) |
| OKLCH | oklch(74.73% 0.177 312.6) |
| XYZ | xyz(53.2358, 38.4866, 96.7008) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.35
Baby Purple
#CA9BF7
ΔE00 5.24
Light Purple
#BF77F6
ΔE00 5.31
Violet (CSS)
#EE82EE
ΔE00 6.28
Pastel Purple
#CAA0FF
ΔE00 6.37
Easter Purple
#C071FE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D388FC #B1FC88
analogous
#9988FC #D388FC #FC88EB
triadic
#D388FC #FCD388 #88FCD3
tetradic
#D388FC #FC9988 #B1FC88 #88EBFC
square
#D388FC #FC9988 #B1FC88 #88EBFC
split-complementary
#D388FC #EBFC88 #88FC99
monochromatic
#A711F9 #BD4CFA #D388FC #E9C4FE #F4E1FE
Accessibility & contrast
On white
2.41
#D388FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#D388FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D388FC
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D388FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D388FC | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#CF9AB6
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #d388fc; /* rgb */ color: rgb(211, 136, 252); /* oklch */ color: oklch(74.7% 0.177 312.6);
Tailwind
colors: {
custom: {
50: '#e2acfe',
500: '#d388fc',
950: '#000000',
},
}SCSS
$custom: #d388fc; $custom-light: #e2acfe; $custom-dark: #000000;
JSON
{
"hex": "#d388fc",
"rgb": {
"r": 211,
"g": 136,
"b": 252
},
"hsl": {
"h": 278.793,
"s": 95.082,
"l": 76.078
},
"oklch": {
"l": 0.74732,
"c": 0.1767,
"h": 312.6
},
"luminance": 0.38485
}Semantic roles & 50–950 ramp
primary
#D388FC
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86