#D286FC#D286FC
#D286FC is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.3% C 0.180 H 312.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D286FC |
|---|---|
| RGB | rgb(210, 134, 252) |
| HSL | hsl(279, 95%, 76%) |
| HSV | hsv(279, 47%, 99%) |
| CMYK | cmyk(16.7%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(67.86, 49.23, -47.59) |
| CIE-LCH | lch(67.86, 68.47, 315.97°) |
| OKLab | oklab(74.32% 0.1212 -0.1324) |
| OKLCH | oklch(74.32% 0.18 312.5) |
| XYZ | xyz(52.6711, 37.7812, 96.5944) |
| Luminance | 0.3778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.41
Light Purple
#BF77F6
ΔE00 4.85
Baby Purple
#CA9BF7
ΔE00 5.62
Easter Purple
#C071FE
ΔE00 5.99
Violet (CSS)
#EE82EE
ΔE00 6.42
Pastel Purple
#CAA0FF
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D286FC #B0FC86
analogous
#9786FC #D286FC #FC86EB
triadic
#D286FC #FCD286 #86FCD2
tetradic
#D286FC #FC9786 #B0FC86 #86EBFC
square
#D286FC #FC9786 #B0FC86 #86EBFC
split-complementary
#D286FC #EBFC86 #86FC97
monochromatic
#A60FF9 #BC4AFB #D286FC #E8C2FD #F4E1FE
Accessibility & contrast
On white
2.45
#D286FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#D286FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D286FC
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D286FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D286FC | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#CE98B5
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d286fc; /* rgb */ color: rgb(210, 134, 252); /* oklch */ color: oklch(74.3% 0.180 312.5);
Tailwind
colors: {
custom: {
50: '#e2abfe',
500: '#d286fc',
950: '#000000',
},
}SCSS
$custom: #d286fc; $custom-light: #e2abfe; $custom-dark: #000000;
JSON
{
"hex": "#d286fc",
"rgb": {
"r": 210,
"g": 134,
"b": 252
},
"hsl": {
"h": 278.644,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.74322,
"c": 0.17951,
"h": 312.5
},
"luminance": 0.3778
}Semantic roles & 50–950 ramp
primary
#D286FC
secondary
#E1F6D5
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86