#A186FC#A186FC
#A186FC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.6% C 0.169 H 292.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A186FC |
|---|---|
| RGB | rgb(161, 134, 252) |
| HSL | hsl(254, 95%, 76%) |
| HSV | hsv(254, 47%, 99%) |
| CMYK | cmyk(36.1%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(63.06, 36.38, -55.50) |
| CIE-LCH | lch(63.06, 66.36, 303.25°) |
| OKLab | oklab(69.62% 0.0632 -0.1567) |
| OKLCH | oklch(69.62% 0.169 292) |
| XYZ | xyz(40.7891, 31.6546, 96.0375) |
| Luminance | 0.3166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.71
Lavender Blue
#8B88F8
ΔE00 4.57
Perrywinkle
#8F8CE7
ΔE00 5.22
Liliac
#C48EFD
ΔE00 6.99
Light Urple
#B36FF6
ΔE00 7.23
Light Purple
#BF77F6
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A186FC #E1FC86
analogous
#86A6FC #A186FC #DC86FC
triadic
#A186FC #FCA186 #86FCA1
tetradic
#A186FC #FC86A6 #E1FC86 #86FCDC
square
#A186FC #FC86A6 #E1FC86 #86FCDC
split-complementary
#A186FC #FCDC86 #A6FC86
monochromatic
#440FF9 #734AFB #A186FC #CFC2FD #E8E1FE
Accessibility & contrast
On white
2.86
#A186FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#A186FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A186FC
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A186FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A186FC | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#8A9DB5
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a186fc; /* rgb */ color: rgb(161, 134, 252); /* oklch */ color: oklch(69.6% 0.169 292.0);
Tailwind
colors: {
custom: {
50: '#c0a9fe',
500: '#a186fc',
950: '#000000',
},
}SCSS
$custom: #a186fc; $custom-light: #c0a9fe; $custom-dark: #000000;
JSON
{
"hex": "#a186fc",
"rgb": {
"r": 161,
"g": 134,
"b": 252
},
"hsl": {
"h": 253.729,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.69622,
"c": 0.16892,
"h": 292
},
"luminance": 0.31656
}Semantic roles & 50–950 ramp
primary
#A186FC
secondary
#EFF6D5
accent
#E600B1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86