#A286EF#A286EF
#A286EF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.152 H 294.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A286EF |
|---|---|
| RGB | rgb(162, 134, 239) |
| HSL | hsl(256, 77%, 73%) |
| HSV | hsv(256, 44%, 94%) |
| CMYK | cmyk(32.2%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.48, 33.29, -49.26) |
| CIE-LCH | lch(62.48, 59.45, 304.05°) |
| OKLab | oklab(68.99% 0.0626 -0.1384) |
| OKLCH | oklch(68.99% 0.152 294.4) |
| XYZ | xyz(39.0014, 30.9629, 85.5662) |
| Luminance | 0.3096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.98
Periwinkle (survey)
#8E82FE
ΔE00 5.01
Lavender Blue
#8B88F8
ΔE00 5.48
Liliac
#C48EFD
ΔE00 6.51
Mediumpurple
#9370DB
ΔE00 6.90
Light Urple
#B36FF6
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A286EF #D3EF86
analogous
#869EEF #A286EF #D686EF
triadic
#A286EF #EFA286 #86EFA2
tetradic
#A286EF #EF869E #D3EF86 #86EFD6
square
#A286EF #EF869E #D3EF86 #86EFD6
split-complementary
#A286EF #EFD686 #9EEF86
monochromatic
#501DDD #7850E8 #A286EF #CCBCF6 #EAE4FB
Accessibility & contrast
On white
2.92
#A286EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#A286EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A286EF
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A286EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A286EF | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#919AAF
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a286ef; /* rgb */ color: rgb(162, 134, 239); /* oklch */ color: oklch(69.0% 0.152 294.4);
Tailwind
colors: {
custom: {
50: '#c0a9f5',
500: '#a286ef',
950: '#000000',
},
}SCSS
$custom: #a286ef; $custom-light: #c0a9f5; $custom-dark: #000000;
JSON
{
"hex": "#a286ef",
"rgb": {
"r": 162,
"g": 134,
"b": 239
},
"hsl": {
"h": 256,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.68989,
"c": 0.15192,
"h": 294.4
},
"luminance": 0.30964
}Semantic roles & 50–950 ramp
primary
#A286EF
secondary
#ECF3D8
accent
#D90DA2
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85