#B18AF3#B18AF3
#B18AF3 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.2% C 0.153 H 299.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B18AF3 |
|---|---|
| RGB | rgb(177, 138, 243) |
| HSL | hsl(262, 81%, 75%) |
| HSV | hsv(262, 43%, 95%) |
| CMYK | cmyk(27.2%, 43.2%, 0%, 4.7%) |
| CIE-LAB | lab(64.96, 36.05, -47.45) |
| CIE-LCH | lch(64.96, 59.59, 307.22°) |
| OKLab | oklab(71.25% 0.0756 -0.1328) |
| OKLCH | oklch(71.25% 0.153 299.7) |
| XYZ | xyz(43.3939, 33.9949, 89.0522) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.56
Light Purple
#BF77F6
ΔE00 5.63
Baby Purple
#CA9BF7
ΔE00 6.15
Pastel Purple
#CAA0FF
ΔE00 6.58
Easter Purple
#C071FE
ΔE00 6.86
Light Urple
#B36FF6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18AF3 #CCF38A
analogous
#8A98F3 #B18AF3 #E68AF3
triadic
#B18AF3 #F3B18A #8AF3B1
tetradic
#B18AF3 #F38A98 #CCF38A #8AF3E6
square
#B18AF3 #F38A98 #CCF38A #8AF3E6
split-complementary
#B18AF3 #F3E68A #98F38A
monochromatic
#671BE8 #8C52ED #B18AF3 #D6C2F9 #ECE3FC
Accessibility & contrast
On white
2.69
#B18AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#B18AF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18AF3
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18AF3 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#749DF0
Tritanopia (blue-blind)
#A49CB3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b18af3; /* rgb */ color: rgb(177, 138, 243); /* oklch */ color: oklch(71.2% 0.153 299.7);
Tailwind
colors: {
custom: {
50: '#caacf7',
500: '#b18af3',
950: '#000000',
},
}SCSS
$custom: #b18af3; $custom-light: #caacf7; $custom-dark: #000000;
JSON
{
"hex": "#b18af3",
"rgb": {
"r": 177,
"g": 138,
"b": 243
},
"hsl": {
"h": 262.286,
"s": 81.395,
"l": 74.706
},
"oklch": {
"l": 0.71247,
"c": 0.15282,
"h": 299.7
},
"luminance": 0.33995
}Semantic roles & 50–950 ramp
primary
#B18AF3
secondary
#E9F4D7
accent
#DE088E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85