#D382FC#D382FC
#D382FC is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.8% C 0.186 H 313.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D382FC |
|---|---|
| RGB | rgb(211, 130, 252) |
| HSL | hsl(280, 95%, 75%) |
| HSV | hsv(280, 48%, 99%) |
| CMYK | cmyk(16.3%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(67.16, 51.58, -48.68) |
| CIE-LCH | lch(67.16, 70.92, 316.65°) |
| OKLab | oklab(73.83% 0.1277 -0.1356) |
| OKLCH | oklch(73.83% 0.186 313.3) |
| XYZ | xyz(52.4143, 36.8437, 96.4270) |
| Luminance | 0.3684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.10
Light Purple
#BF77F6
ΔE00 4.38
Easter Purple
#C071FE
ΔE00 5.41
Violet (CSS)
#EE82EE
ΔE00 6.29
Baby Purple
#CA9BF7
ΔE00 6.50
Light Urple
#B36FF6
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D382FC #ABFC82
analogous
#9682FC #D382FC #FC82E8
triadic
#D382FC #FCD382 #82FCD3
tetradic
#D382FC #FC9682 #ABFC82 #82E8FC
square
#D382FC #FC9682 #ABFC82 #82E8FC
split-complementary
#D382FC #E8FC82 #82FC96
monochromatic
#A90AF9 #BE46FB #D382FC #E8BEFD #F4E1FE
Accessibility & contrast
On white
2.51
#D382FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#D382FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D382FC
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D382FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D382FC | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#CF95B3
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d382fc; /* rgb */ color: rgb(211, 130, 252); /* oklch */ color: oklch(73.8% 0.186 313.3);
Tailwind
colors: {
custom: {
50: '#e3a8fe',
500: '#d382fc',
950: '#000000',
},
}SCSS
$custom: #d382fc; $custom-light: #e3a8fe; $custom-dark: #000000;
JSON
{
"hex": "#d382fc",
"rgb": {
"r": 211,
"g": 130,
"b": 252
},
"hsl": {
"h": 279.836,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.73826,
"c": 0.18626,
"h": 313.3
},
"luminance": 0.36842
}Semantic roles & 50–950 ramp
primary
#D382FC
secondary
#E0F7D4
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86