#A186FE#A186FE
#A186FE is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.172 H 291.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A186FE |
|---|---|
| RGB | rgb(161, 134, 254) |
| HSL | hsl(254, 98%, 76%) |
| HSV | hsv(254, 47%, 100%) |
| CMYK | cmyk(36.6%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(63.16, 36.90, -56.43) |
| CIE-LCH | lch(63.16, 67.42, 303.19°) |
| OKLab | oklab(69.74% 0.0634 -0.1594) |
| OKLCH | oklch(69.74% 0.172 291.7) |
| XYZ | xyz(41.1077, 31.7820, 97.7154) |
| Luminance | 0.3178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.62
Lavender Blue
#8B88F8
ΔE00 4.53
Perrywinkle
#8F8CE7
ΔE00 5.34
Liliac
#C48EFD
ΔE00 7.08
Light Urple
#B36FF6
ΔE00 7.29
Light Purple
#BF77F6
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A186FE #E3FE86
analogous
#86A7FE #A186FE #DD86FE
triadic
#A186FE #FEA186 #86FEA1
tetradic
#A186FE #FE86A7 #E3FE86 #86FEDD
square
#A186FE #FE86A7 #E3FE86 #86FEDD
split-complementary
#A186FE #FEDD86 #A7FE86
monochromatic
#430DFD #7249FD #A186FE #D0C3FF #E7E1FF
Accessibility & contrast
On white
2.85
#A186FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#A186FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A186FE
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A186FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A186FE | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#899EB6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a186fe; /* rgb */ color: rgb(161, 134, 254); /* oklch */ color: oklch(69.7% 0.172 291.7);
Tailwind
colors: {
custom: {
50: '#c1a9ff',
500: '#a186fe',
950: '#000000',
},
}SCSS
$custom: #a186fe; $custom-light: #c1a9ff; $custom-dark: #000000;
JSON
{
"hex": "#a186fe",
"rgb": {
"r": 161,
"g": 134,
"b": 254
},
"hsl": {
"h": 253.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.69735,
"c": 0.17151,
"h": 291.7
},
"luminance": 0.31783
}Semantic roles & 50–950 ramp
primary
#A186FE
secondary
#EFF7D4
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86