#A18BFB#A18BFB
#A18BFB is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.160 H 290.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A18BFB |
|---|---|
| RGB | rgb(161, 139, 251) |
| HSL | hsl(252, 93%, 76%) |
| HSV | hsv(252, 45%, 98%) |
| CMYK | cmyk(35.9%, 44.6%, 0%, 1.6%) |
| CIE-LAB | lab(64.17, 33.28, -53.19) |
| CIE-LCH | lch(64.17, 62.74, 302.04°) |
| OKLab | oklab(70.44% 0.0567 -0.1499) |
| OKLCH | oklch(70.44% 0.16 290.7) |
| XYZ | xyz(41.3385, 33.0063, 95.4409) |
| Luminance | 0.3301 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.14
Lavender Blue
#8B88F8
ΔE00 4.27
Perrywinkle
#8F8CE7
ΔE00 4.46
Periwinkle Blue
#8F99FB
ΔE00 6.60
Liliac
#C48EFD
ΔE00 6.98
Light Purple
#BF77F6
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18BFB #E5FB8B
analogous
#8BADFB #A18BFB #D98BFB
triadic
#A18BFB #FBA18B #8BFBA1
tetradic
#A18BFB #FB8BAD #E5FB8B #8BFBD9
square
#A18BFB #FB8BAD #E5FB8B #8BFBD9
split-complementary
#A18BFB #FBD98B #ADFB8B
monochromatic
#4115F7 #7150F9 #A18BFB #D1C6FD #E7E1FE
Accessibility & contrast
On white
2.76
#A18BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#A18BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18BFB
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18BFB | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#8AA1B7
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a18bfb; /* rgb */ color: rgb(161, 139, 251); /* oklch */ color: oklch(70.4% 0.160 290.7);
Tailwind
colors: {
custom: {
50: '#c0adfd',
500: '#a18bfb',
950: '#000000',
},
}SCSS
$custom: #a18bfb; $custom-light: #c0adfd; $custom-dark: #000000;
JSON
{
"hex": "#a18bfb",
"rgb": {
"r": 161,
"g": 139,
"b": 251
},
"hsl": {
"h": 251.786,
"s": 93.333,
"l": 76.471
},
"oklch": {
"l": 0.7044,
"c": 0.16027,
"h": 290.7
},
"luminance": 0.33007
}Semantic roles & 50–950 ramp
primary
#A18BFB
secondary
#F0F6D5
accent
#E600B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86