#D386FC#D386FC
#D386FC is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.4% C 0.180 H 312.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D386FC |
|---|---|
| RGB | rgb(211, 134, 252) |
| HSL | hsl(279, 95%, 76%) |
| HSV | hsv(279, 47%, 99%) |
| CMYK | cmyk(16.3%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(67.97, 49.50, -47.41) |
| CIE-LCH | lch(67.97, 68.54, 316.24°) |
| OKLab | oklab(74.43% 0.1224 -0.1319) |
| OKLCH | oklch(74.43% 0.18 312.9) |
| XYZ | xyz(52.9568, 37.9285, 96.6078) |
| Luminance | 0.3793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.57
Light Purple
#BF77F6
ΔE00 4.98
Baby Purple
#CA9BF7
ΔE00 5.66
Easter Purple
#C071FE
ΔE00 6.11
Violet (CSS)
#EE82EE
ΔE00 6.25
Pastel Purple
#CAA0FF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D386FC #AFFC86
analogous
#9886FC #D386FC #FC86EA
triadic
#D386FC #FCD386 #86FCD3
tetradic
#D386FC #FC9886 #AFFC86 #86EAFC
square
#D386FC #FC9886 #AFFC86 #86EAFC
split-complementary
#D386FC #EAFC86 #86FC98
monochromatic
#A80FF9 #BD4AFB #D386FC #E9C2FD #F4E1FE
Accessibility & contrast
On white
2.45
#D386FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#D386FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D386FC
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D386FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D386FC | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#CF98B5
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d386fc; /* rgb */ color: rgb(211, 134, 252); /* oklch */ color: oklch(74.4% 0.180 312.9);
Tailwind
colors: {
custom: {
50: '#e2abfe',
500: '#d386fc',
950: '#000000',
},
}SCSS
$custom: #d386fc; $custom-light: #e2abfe; $custom-dark: #000000;
JSON
{
"hex": "#d386fc",
"rgb": {
"r": 211,
"g": 134,
"b": 252
},
"hsl": {
"h": 279.153,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.74427,
"c": 0.1799,
"h": 312.9
},
"luminance": 0.37927
}Semantic roles & 50–950 ramp
primary
#D386FC
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86