#A186EB#A186EB
#A186EB is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.7% C 0.147 H 294.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A186EB |
|---|---|
| RGB | rgb(161, 134, 235) |
| HSL | hsl(256, 72%, 72%) |
| HSV | hsv(256, 43%, 92%) |
| CMYK | cmyk(31.5%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(62.19, 32.01, -47.51) |
| CIE-LCH | lch(62.19, 57.28, 303.97°) |
| OKLab | oklab(68.69% 0.0609 -0.1333) |
| OKLCH | oklch(68.69% 0.147 294.5) |
| XYZ | xyz(38.2147, 30.6248, 82.4790) |
| Luminance | 0.3063 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.83
Periwinkle (survey)
#8E82FE
ΔE00 5.32
Lavender Blue
#8B88F8
ΔE00 5.65
Liliac
#C48EFD
ΔE00 6.72
Mediumpurple
#9370DB
ΔE00 6.73
Light Urple
#B36FF6
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A186EB #D0EB86
analogous
#869DEB #A186EB #D486EB
triadic
#A186EB #EBA186 #86EBA1
tetradic
#A186EB #EB869D #D0EB86 #86EBD4
square
#A186EB #EB869D #D0EB86 #86EBD4
split-complementary
#A186EB #EBD486 #9DEB86
monochromatic
#5223D4 #7851E2 #A186EB #CABBF4 #EBE5FB
Accessibility & contrast
On white
2.95
#A186EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#A186EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A186EB
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A186EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A186EB | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#9099AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a186eb; /* rgb */ color: rgb(161, 134, 235); /* oklch */ color: oklch(68.7% 0.147 294.5);
Tailwind
colors: {
custom: {
50: '#bfa9f2',
500: '#a186eb',
950: '#000000',
},
}SCSS
$custom: #a186eb; $custom-light: #bfa9f2; $custom-dark: #000000;
JSON
{
"hex": "#a186eb",
"rgb": {
"r": 161,
"g": 134,
"b": 235
},
"hsl": {
"h": 256.04,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.68687,
"c": 0.14656,
"h": 294.5
},
"luminance": 0.30625
}Semantic roles & 50–950 ramp
primary
#A186EB
secondary
#EBF2D9
accent
#D412A0
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85