#A186FB#A186FB
#A186FB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.6% C 0.168 H 292.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A186FB |
|---|---|
| RGB | rgb(161, 134, 251) |
| HSL | hsl(254, 94%, 75%) |
| HSV | hsv(254, 47%, 98%) |
| CMYK | cmyk(35.9%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(63.00, 36.12, -55.03) |
| CIE-LCH | lch(63.00, 65.83, 303.28°) |
| OKLab | oklab(69.57% 0.063 -0.1553) |
| OKLCH | oklch(69.57% 0.168 292.1) |
| XYZ | xyz(40.6310, 31.5913, 95.2051) |
| Luminance | 0.3159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.77
Lavender Blue
#8B88F8
ΔE00 4.59
Perrywinkle
#8F8CE7
ΔE00 5.16
Liliac
#C48EFD
ΔE00 6.96
Light Urple
#B36FF6
ΔE00 7.21
Light Purple
#BF77F6
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A186FB #E0FB86
analogous
#86A5FB #A186FB #DB86FB
triadic
#A186FB #FBA186 #86FBA1
tetradic
#A186FB #FB86A5 #E0FB86 #86FBDB
square
#A186FB #FB86A5 #E0FB86 #86FBDB
split-complementary
#A186FB #FBDB86 #A5FB86
monochromatic
#4510F7 #734BF9 #A186FB #CFC1FD #E8E1FE
Accessibility & contrast
On white
2.87
#A186FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#A186FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A186FB
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A186FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A186FB | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#8B9DB5
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a186fb; /* rgb */ color: rgb(161, 134, 251); /* oklch */ color: oklch(69.6% 0.168 292.1);
Tailwind
colors: {
custom: {
50: '#c0a9fd',
500: '#a186fb',
950: '#000000',
},
}SCSS
$custom: #a186fb; $custom-light: #c0a9fd; $custom-dark: #000000;
JSON
{
"hex": "#a186fb",
"rgb": {
"r": 161,
"g": 134,
"b": 251
},
"hsl": {
"h": 253.846,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.69565,
"c": 0.16761,
"h": 292.1
},
"luminance": 0.31592
}Semantic roles & 50–950 ramp
primary
#A186FB
secondary
#EEF6D5
accent
#E600B1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86