#A186F9#A186F9
#A186F9 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.165 H 292.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A186F9 |
|---|---|
| RGB | rgb(161, 134, 249) |
| HSL | hsl(254, 91%, 75%) |
| HSV | hsv(254, 46%, 98%) |
| CMYK | cmyk(35.3%, 46.2%, 0%, 2.4%) |
| CIE-LAB | lab(62.90, 35.60, -54.10) |
| CIE-LCH | lch(62.90, 64.77, 303.35°) |
| OKLab | oklab(69.45% 0.0628 -0.1526) |
| OKLCH | oklch(69.45% 0.165 292.4) |
| XYZ | xyz(40.3174, 31.4659, 93.5535) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.89
Lavender Blue
#8B88F8
ΔE00 4.65
Perrywinkle
#8F8CE7
ΔE00 5.05
Liliac
#C48EFD
ΔE00 6.89
Light Urple
#B36FF6
ΔE00 7.16
Light Purple
#BF77F6
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A186F9 #DEF986
analogous
#86A4F9 #A186F9 #DA86F9
triadic
#A186F9 #F9A186 #86F9A1
tetradic
#A186F9 #F986A4 #DEF986 #86F9DA
square
#A186F9 #F986A4 #DEF986 #86F9DA
split-complementary
#A186F9 #F9DA86 #A4F986
monochromatic
#4611F3 #744CF6 #A186F9 #CEC0FC #E8E2FE
Accessibility & contrast
On white
2.88
#A186F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#A186F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A186F9
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A186F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A186F9 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#8B9CB4
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a186f9; /* rgb */ color: rgb(161, 134, 249); /* oklch */ color: oklch(69.5% 0.165 292.4);
Tailwind
colors: {
custom: {
50: '#c0a9fc',
500: '#a186f9',
950: '#000000',
},
}SCSS
$custom: #a186f9; $custom-light: #c0a9fc; $custom-dark: #000000;
JSON
{
"hex": "#a186f9",
"rgb": {
"r": 161,
"g": 134,
"b": 249
},
"hsl": {
"h": 254.087,
"s": 90.551,
"l": 75.098
},
"oklch": {
"l": 0.69452,
"c": 0.165,
"h": 292.4
},
"luminance": 0.31467
}Semantic roles & 50–950 ramp
primary
#A186F9
secondary
#EEF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85