#D281F7#D281F7
#D281F7 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.3% C 0.182 H 314.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D281F7 |
|---|---|
| RGB | rgb(210, 129, 247) |
| HSL | hsl(281, 88%, 74%) |
| HSV | hsv(281, 48%, 97%) |
| CMYK | cmyk(15%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(66.61, 50.79, -46.82) |
| CIE-LCH | lch(66.61, 69.07, 317.33°) |
| OKLab | oklab(73.32% 0.1273 -0.1302) |
| OKLCH | oklch(73.32% 0.182 314.4) |
| XYZ | xyz(51.2144, 36.1189, 92.2514) |
| Luminance | 0.3612 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.31
Liliac
#C48EFD
ΔE00 4.41
Easter Purple
#C071FE
ΔE00 5.46
Violet (CSS)
#EE82EE
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 6.62
Orchid
#DA70D6
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D281F7 #A6F781
analogous
#9781F7 #D281F7 #F781E1
triadic
#D281F7 #F7D281 #81F7D2
tetradic
#D281F7 #F79781 #A6F781 #81E1F7
square
#D281F7 #F79781 #A6F781 #81E1F7
split-complementary
#D281F7 #E1F781 #81F797
monochromatic
#A80FEE #BD47F3 #D281F7 #E7BBFB #F5E2FD
Accessibility & contrast
On white
2.55
#D281F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#D281F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D281F7
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D281F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D281F7 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#CF93B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d281f7; /* rgb */ color: rgb(210, 129, 247); /* oklch */ color: oklch(73.3% 0.182 314.4);
Tailwind
colors: {
custom: {
50: '#e2a8fa',
500: '#d281f7',
950: '#000000',
},
}SCSS
$custom: #d281f7; $custom-light: #e2a8fa; $custom-dark: #000000;
JSON
{
"hex": "#d281f7",
"rgb": {
"r": 210,
"g": 129,
"b": 247
},
"hsl": {
"h": 281.186,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.73316,
"c": 0.18206,
"h": 314.4
},
"luminance": 0.36118
}Semantic roles & 50–950 ramp
primary
#D281F7
secondary
#E0F5D6
accent
#E50148
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85