#D380EF#D380EF
#D380EF is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.9% C 0.176 H 317.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D380EF |
|---|---|
| RGB | rgb(211, 128, 239) |
| HSL | hsl(285, 78%, 72%) |
| HSV | hsv(285, 46%, 94%) |
| CMYK | cmyk(11.7%, 46.4%, 0%, 6.3%) |
| CIE-LAB | lab(66.15, 49.96, -43.13) |
| CIE-LCH | lch(66.15, 66.00, 319.19°) |
| OKLab | oklab(72.88% 0.1287 -0.1195) |
| OKLCH | oklch(72.88% 0.176 317.1) |
| XYZ | xyz(50.1609, 35.5208, 85.8585) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.01
Violet (CSS)
#EE82EE
ΔE00 5.11
Liliac
#C48EFD
ΔE00 5.38
Orchid
#DA70D6
ΔE00 5.62
Purply Pink
#F075E6
ΔE00 5.98
Lavender Pink
#DD85D7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D380EF #9CEF80
analogous
#9C80EF #D380EF #EF80D3
triadic
#D380EF #EFD380 #80EFD3
tetradic
#D380EF #EF9C80 #9CEF80 #80D3EF
square
#D380EF #EF9C80 #9CEF80 #80D3EF
split-complementary
#D380EF #D3EF80 #80EF9C
monochromatic
#A91BD9 #C04AE8 #D380EF #E6B6F6 #F6E4FC
Accessibility & contrast
On white
2.59
#D380EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#D380EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D380EF
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D380EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D380EF | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D290AC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d380ef; /* rgb */ color: rgb(211, 128, 239); /* oklch */ color: oklch(72.9% 0.176 317.1);
Tailwind
colors: {
custom: {
50: '#e2a7f4',
500: '#d380ef',
950: '#000000',
},
}SCSS
$custom: #d380ef; $custom-light: #e2a7f4; $custom-dark: #000000;
JSON
{
"hex": "#d380ef",
"rgb": {
"r": 211,
"g": 128,
"b": 239
},
"hsl": {
"h": 284.865,
"s": 77.622,
"l": 71.961
},
"oklch": {
"l": 0.72879,
"c": 0.17563,
"h": 317.1
},
"luminance": 0.35519
}Semantic roles & 50–950 ramp
primary
#D380EF
secondary
#DFF3D7
accent
#DA0C40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85