#B18AE3#B18AE3
#B18AE3 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.4% C 0.132 H 303.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B18AE3 |
|---|---|
| RGB | rgb(177, 138, 227) |
| HSL | hsl(266, 61%, 72%) |
| HSV | hsv(266, 39%, 89%) |
| CMYK | cmyk(22%, 39.2%, 0%, 11%) |
| CIE-LAB | lab(64.22, 32.28, -39.78) |
| CIE-LCH | lch(64.22, 51.23, 309.05°) |
| OKLab | oklab(70.45% 0.0728 -0.1106) |
| OKLCH | oklch(70.45% 0.132 303.4) |
| XYZ | xyz(41.0821, 33.0702, 76.8770) |
| Luminance | 0.3307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.57
Liliac
#C48EFD
ΔE00 4.64
Baby Purple
#CA9BF7
ΔE00 5.82
Lavender (survey)
#C79FEF
ΔE00 6.27
Light Purple
#BF77F6
ΔE00 6.38
Wisteria
#A87DC2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18AE3 #BCE38A
analogous
#8A90E3 #B18AE3 #DE8AE3
triadic
#B18AE3 #E3B18A #8AE3B1
tetradic
#B18AE3 #E38A90 #BCE38A #8AE3DE
square
#B18AE3 #E38A90 #BCE38A #8AE3DE
split-complementary
#B18AE3 #E3DE8A #90E38A
monochromatic
#702FC4 #9059D7 #B18AE3 #D2BBEF #EFE6F9
Accessibility & contrast
On white
2.76
#B18AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#B18AE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18AE3
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18AE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18AE3 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759BE6
Deuteranopia (green-blind)
#7D9CE1
Tritanopia (blue-blind)
#A998AC
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b18ae3; /* rgb */ color: rgb(177, 138, 227); /* oklch */ color: oklch(70.4% 0.132 303.4);
Tailwind
colors: {
custom: {
50: '#caacec',
500: '#b18ae3',
950: '#000000',
},
}SCSS
$custom: #b18ae3; $custom-light: #caacec; $custom-dark: #000000;
JSON
{
"hex": "#b18ae3",
"rgb": {
"r": 177,
"g": 138,
"b": 227
},
"hsl": {
"h": 266.292,
"s": 61.379,
"l": 71.569
},
"oklch": {
"l": 0.70445,
"c": 0.13241,
"h": 303.4
},
"luminance": 0.3307
}Semantic roles & 50–950 ramp
primary
#B18AE3
secondary
#E6F0D9
accent
#C91C7D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84