#D281EF#D281EF
#D281EF is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.174 H 316.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #D281EF |
|---|---|
| RGB | rgb(210, 129, 239) |
| HSL | hsl(284, 77%, 72%) |
| HSV | hsv(284, 46%, 94%) |
| CMYK | cmyk(12.1%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(66.24, 49.16, -43.00) |
| CIE-LCH | lch(66.24, 65.31, 318.82°) |
| OKLab | oklab(72.92% 0.1262 -0.1191) |
| OKLCH | oklch(72.92% 0.174 316.6) |
| XYZ | xyz(50.0063, 35.6356, 85.8888) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.97
Liliac
#C48EFD
ΔE00 5.13
Violet (CSS)
#EE82EE
ΔE00 5.25
Orchid
#DA70D6
ΔE00 5.82
Lavender Pink
#DD85D7
ΔE00 6.10
Purply Pink
#F075E6
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D281EF #9EEF81
analogous
#9B81EF #D281EF #EF81D5
triadic
#D281EF #EFD281 #81EFD2
tetradic
#D281EF #EF9B81 #9EEF81 #81D5EF
square
#D281EF #EF9B81 #9EEF81 #81D5EF
split-complementary
#D281EF #D5EF81 #81EF9B
monochromatic
#A81CDA #BF4BE8 #D281EF #E5B7F6 #F5E4FC
Accessibility & contrast
On white
2.58
#D281EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#D281EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D281EF
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D281EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D281EF | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D191AD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d281ef; /* rgb */ color: rgb(210, 129, 239); /* oklch */ color: oklch(72.9% 0.174 316.6);
Tailwind
colors: {
custom: {
50: '#e2a8f4',
500: '#d281ef',
950: '#000000',
},
}SCSS
$custom: #d281ef; $custom-light: #e2a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d281ef",
"rgb": {
"r": 210,
"g": 129,
"b": 239
},
"hsl": {
"h": 284.182,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.7292,
"c": 0.17353,
"h": 316.6
},
"luminance": 0.35634
}Semantic roles & 50–950 ramp
primary
#D281EF
secondary
#DFF3D8
accent
#DA0C42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85