#A286FE#A286FE
#A286FE is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.172 H 292.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A286FE |
|---|---|
| RGB | rgb(162, 134, 254) |
| HSL | hsl(254, 98%, 76%) |
| HSV | hsv(254, 47%, 100%) |
| CMYK | cmyk(36.2%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(63.25, 37.15, -56.28) |
| CIE-LCH | lch(63.25, 67.44, 303.43°) |
| OKLab | oklab(69.82% 0.0645 -0.1589) |
| OKLCH | oklch(69.82% 0.172 292.1) |
| XYZ | xyz(41.3101, 31.8864, 97.7249) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.81
Lavender Blue
#8B88F8
ΔE00 4.73
Perrywinkle
#8F8CE7
ΔE00 5.48
Liliac
#C48EFD
ΔE00 6.89
Light Urple
#B36FF6
ΔE00 7.16
Light Purple
#BF77F6
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A286FE #E2FE86
analogous
#86A6FE #A286FE #DE86FE
triadic
#A286FE #FEA286 #86FEA2
tetradic
#A286FE #FE86A6 #E2FE86 #86FEDE
square
#A286FE #FE86A6 #E2FE86 #86FEDE
split-complementary
#A286FE #FEDE86 #A6FE86
monochromatic
#450DFD #7349FD #A286FE #D1C3FF #E8E1FF
Accessibility & contrast
On white
2.85
#A286FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#A286FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A286FE
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A286FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A286FE | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#8B9EB6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a286fe; /* rgb */ color: rgb(162, 134, 254); /* oklch */ color: oklch(69.8% 0.172 292.1);
Tailwind
colors: {
custom: {
50: '#c1a9ff',
500: '#a286fe',
950: '#000000',
},
}SCSS
$custom: #a286fe; $custom-light: #c1a9ff; $custom-dark: #000000;
JSON
{
"hex": "#a286fe",
"rgb": {
"r": 162,
"g": 134,
"b": 254
},
"hsl": {
"h": 254,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.69821,
"c": 0.17154,
"h": 292.1
},
"luminance": 0.31887
}Semantic roles & 50–950 ramp
primary
#A286FE
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86