#D286EB#D286EB
#D286EB is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.5% C 0.161 H 317.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D286EB |
|---|---|
| RGB | rgb(210, 134, 235) |
| HSL | hsl(285, 72%, 72%) |
| HSV | hsv(285, 43%, 92%) |
| CMYK | cmyk(10.6%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(67.09, 45.74, -39.47) |
| CIE-LCH | lch(67.09, 60.41, 319.21°) |
| OKLab | oklab(73.5% 0.1186 -0.109) |
| OKLCH | oklch(73.5% 0.161 317.4) |
| XYZ | xyz(50.0967, 36.7515, 83.0359) |
| Luminance | 0.3675 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.93
Lavender Pink
#DD85D7
ΔE00 5.17
Liliac
#C48EFD
ΔE00 5.21
Baby Purple
#CA9BF7
ΔE00 5.91
Orchid
#DA70D6
ΔE00 6.03
Light Purple
#BF77F6
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D286EB #9FEB86
analogous
#A086EB #D286EB #EB86D1
triadic
#D286EB #EBD286 #86EBD2
tetradic
#D286EB #EBA086 #9FEB86 #86D1EB
square
#D286EB #EBA086 #9FEB86 #86D1EB
split-complementary
#D286EB #D1EB86 #86EBA0
monochromatic
#A823D4 #BE51E2 #D286EB #E6BBF4 #F5E5FB
Accessibility & contrast
On white
2.51
#D286EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#D286EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D286EB
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D286EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D286EB | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D294AD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d286eb; /* rgb */ color: rgb(210, 134, 235); /* oklch */ color: oklch(73.5% 0.161 317.4);
Tailwind
colors: {
custom: {
50: '#e1abf2',
500: '#d286eb',
950: '#000000',
},
}SCSS
$custom: #d286eb; $custom-light: #e1abf2; $custom-dark: #000000;
JSON
{
"hex": "#d286eb",
"rgb": {
"r": 210,
"g": 134,
"b": 235
},
"hsl": {
"h": 285.149,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.73496,
"c": 0.16104,
"h": 317.4
},
"luminance": 0.3675
}Semantic roles & 50–950 ramp
primary
#D286EB
secondary
#DFF2D9
accent
#D41242
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85