#D282ED#D282ED
#D282ED is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.170 H 317.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D282ED |
|---|---|
| RGB | rgb(210, 130, 237) |
| HSL | hsl(285, 75%, 72%) |
| HSV | hsv(285, 45%, 93%) |
| CMYK | cmyk(11.4%, 45.1%, 0%, 7.1%) |
| CIE-LAB | lab(66.35, 48.24, -41.72) |
| CIE-LCH | lch(66.35, 63.78, 319.14°) |
| OKLab | oklab(72.97% 0.1245 -0.1154) |
| OKLCH | oklch(72.97% 0.17 317.2) |
| XYZ | xyz(49.8448, 35.7828, 84.3854) |
| Luminance | 0.3578 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.07
Liliac
#C48EFD
ΔE00 5.26
Light Purple
#BF77F6
ΔE00 5.32
Orchid
#DA70D6
ΔE00 5.69
Lavender Pink
#DD85D7
ΔE00 5.71
Purply Pink
#F075E6
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D282ED #9DED82
analogous
#9D82ED #D282ED #ED82D2
triadic
#D282ED #EDD282 #82EDD2
tetradic
#D282ED #ED9D82 #9DED82 #82D2ED
square
#D282ED #ED9D82 #9DED82 #82D2ED
split-complementary
#D282ED #D2ED82 #82ED9D
monochromatic
#A81FD6 #BF4DE5 #D282ED #E5B7F5 #F5E4FB
Accessibility & contrast
On white
2.57
#D282ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#D282ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D282ED
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D282ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D282ED | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#D191AC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d282ed; /* rgb */ color: rgb(210, 130, 237); /* oklch */ color: oklch(73.0% 0.170 317.2);
Tailwind
colors: {
custom: {
50: '#e1a8f3',
500: '#d282ed',
950: '#000000',
},
}SCSS
$custom: #d282ed; $custom-light: #e1a8f3; $custom-dark: #000000;
JSON
{
"hex": "#d282ed",
"rgb": {
"r": 210,
"g": 130,
"b": 237
},
"hsl": {
"h": 284.86,
"s": 74.825,
"l": 71.961
},
"oklch": {
"l": 0.72975,
"c": 0.16978,
"h": 317.2
},
"luminance": 0.35781
}Semantic roles & 50–950 ramp
primary
#D282ED
secondary
#DFF3D8
accent
#D70F41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85