#A186F1#A186F1
#A186F1 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.154 H 293.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A186F1 |
|---|---|
| RGB | rgb(161, 134, 241) |
| HSL | hsl(255, 79%, 74%) |
| HSV | hsv(255, 44%, 95%) |
| CMYK | cmyk(33.2%, 44.4%, 0%, 5.5%) |
| CIE-LAB | lab(62.49, 33.54, -50.35) |
| CIE-LCH | lch(62.49, 60.50, 303.67°) |
| OKLab | oklab(69.01% 0.0618 -0.1416) |
| OKLCH | oklch(69.01% 0.155 293.6) |
| XYZ | xyz(39.0962, 30.9774, 87.1214) |
| Luminance | 0.3098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.61
Perrywinkle
#8F8CE7
ΔE00 4.80
Lavender Blue
#8B88F8
ΔE00 5.11
Liliac
#C48EFD
ΔE00 6.71
Mediumpurple
#9370DB
ΔE00 6.97
Light Urple
#B36FF6
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A186F1 #D6F186
analogous
#86A0F1 #A186F1 #D686F1
triadic
#A186F1 #F1A186 #86F1A1
tetradic
#A186F1 #F186A0 #D6F186 #86F1D6
square
#A186F1 #F186A0 #D6F186 #86F1D6
split-complementary
#A186F1 #F1D686 #A0F186
monochromatic
#4D1AE2 #764FEB #A186F1 #CCBDF7 #EAE4FC
Accessibility & contrast
On white
2.92
#A186F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#A186F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A186F1
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A186F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A186F1 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#8E9AB0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a186f1; /* rgb */ color: rgb(161, 134, 241); /* oklch */ color: oklch(69.0% 0.154 293.6);
Tailwind
colors: {
custom: {
50: '#c0a9f6',
500: '#a186f1',
950: '#000000',
},
}SCSS
$custom: #a186f1; $custom-light: #c0a9f6; $custom-dark: #000000;
JSON
{
"hex": "#a186f1",
"rgb": {
"r": 161,
"g": 134,
"b": 241
},
"hsl": {
"h": 255.14,
"s": 79.259,
"l": 73.529
},
"oklch": {
"l": 0.6901,
"c": 0.1545,
"h": 293.6
},
"luminance": 0.30978
}Semantic roles & 50–950 ramp
primary
#A186F1
secondary
#EDF4D7
accent
#DC0AA7
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85