#A18BF6#A18BF6
#A18BF6 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.154 H 291.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A18BF6 |
|---|---|
| RGB | rgb(161, 139, 246) |
| HSL | hsl(252, 86%, 75%) |
| HSV | hsv(252, 43%, 96%) |
| CMYK | cmyk(34.6%, 43.5%, 0%, 3.5%) |
| CIE-LAB | lab(63.91, 31.98, -50.85) |
| CIE-LCH | lch(63.91, 60.07, 302.17°) |
| OKLab | oklab(70.17% 0.056 -0.1431) |
| OKLCH | oklch(70.17% 0.154 291.4) |
| XYZ | xyz(40.5607, 32.6952, 91.3447) |
| Luminance | 0.3270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.18
Periwinkle (survey)
#8E82FE
ΔE00 4.49
Lavender Blue
#8B88F8
ΔE00 4.50
Periwinkle Blue
#8F99FB
ΔE00 6.78
Liliac
#C48EFD
ΔE00 6.83
Light Purple
#BF77F6
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18BF6 #E0F68B
analogous
#8BABF6 #A18BF6 #D68BF6
triadic
#A18BF6 #F6A18B #8BF6A1
tetradic
#A18BF6 #F68BAB #E0F68B #8BF6D6
square
#A18BF6 #F68BAB #E0F68B #8BF6D6
split-complementary
#A18BF6 #F6D68B #ABF68B
monochromatic
#4519ED #7352F2 #A18BF6 #CFC4FA #E8E3FD
Accessibility & contrast
On white
2.79
#A18BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#A18BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18BF6
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18BF6 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#8C9FB5
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a18bf6; /* rgb */ color: rgb(161, 139, 246); /* oklch */ color: oklch(70.2% 0.154 291.4);
Tailwind
colors: {
custom: {
50: '#c0adf9',
500: '#a18bf6',
950: '#000000',
},
}SCSS
$custom: #a18bf6; $custom-light: #c0adf9; $custom-dark: #000000;
JSON
{
"hex": "#a18bf6",
"rgb": {
"r": 161,
"g": 139,
"b": 246
},
"hsl": {
"h": 252.336,
"s": 85.6,
"l": 75.49
},
"oklch": {
"l": 0.70167,
"c": 0.15363,
"h": 291.4
},
"luminance": 0.32696
}Semantic roles & 50–950 ramp
primary
#A18BF6
secondary
#EEF5D6
accent
#E203B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85