#D282EF#D282EF
#D282EF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.172 H 316.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D282EF |
|---|---|
| RGB | rgb(210, 130, 239) |
| HSL | hsl(284, 77%, 72%) |
| HSV | hsv(284, 46%, 94%) |
| CMYK | cmyk(12.1%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(66.44, 48.64, -42.68) |
| CIE-LCH | lch(66.44, 64.71, 318.73°) |
| OKLab | oklab(73.07% 0.1248 -0.1182) |
| OKLCH | oklch(73.07% 0.172 316.6) |
| XYZ | xyz(50.1387, 35.9004, 85.9329) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 5.02
Light Purple
#BF77F6
ΔE00 5.11
Violet (CSS)
#EE82EE
ΔE00 5.22
Orchid
#DA70D6
ΔE00 5.94
Lavender Pink
#DD85D7
ΔE00 6.04
Purply Pink
#F075E6
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D282EF #9FEF82
analogous
#9C82EF #D282EF #EF82D5
triadic
#D282EF #EFD282 #82EFD2
tetradic
#D282EF #EF9C82 #9FEF82 #82D5EF
square
#D282EF #EF9C82 #9FEF82 #82D5EF
split-complementary
#D282EF #D5EF82 #82EF9C
monochromatic
#A81CDB #BE4CE8 #D282EF #E6B8F6 #F5E4FC
Accessibility & contrast
On white
2.57
#D282EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#D282EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D282EF
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D282EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D282EF | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D191AD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d282ef; /* rgb */ color: rgb(210, 130, 239); /* oklch */ color: oklch(73.1% 0.172 316.6);
Tailwind
colors: {
custom: {
50: '#e2a8f4',
500: '#d282ef',
950: '#000000',
},
}SCSS
$custom: #d282ef; $custom-light: #e2a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d282ef",
"rgb": {
"r": 210,
"g": 130,
"b": 239
},
"hsl": {
"h": 284.037,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.73071,
"c": 0.1719,
"h": 316.6
},
"luminance": 0.35899
}Semantic roles & 50–950 ramp
primary
#D282EF
secondary
#DFF3D8
accent
#DA0C43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85