#B18EF3#B18EF3
#B18EF3 is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.9% C 0.147 H 298.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B18EF3 |
|---|---|
| RGB | rgb(177, 142, 243) |
| HSL | hsl(261, 81%, 75%) |
| HSV | hsv(261, 42%, 95%) |
| CMYK | cmyk(27.2%, 41.6%, 0%, 4.7%) |
| CIE-LAB | lab(65.88, 33.81, -46.01) |
| CIE-LCH | lch(65.88, 57.10, 306.31°) |
| OKLab | oklab(71.94% 0.0702 -0.1286) |
| OKLCH | oklch(71.94% 0.147 298.6) |
| XYZ | xyz(43.9784, 35.1638, 89.2470) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.66
Baby Purple
#CA9BF7
ΔE00 5.59
Pastel Purple
#CAA0FF
ΔE00 5.86
Lavender (survey)
#C79FEF
ΔE00 6.52
Light Purple
#BF77F6
ΔE00 6.65
Lilac (survey)
#CEA2FD
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18EF3 #D0F38E
analogous
#8E9DF3 #B18EF3 #E38EF3
triadic
#B18EF3 #F3B18E #8EF3B1
tetradic
#B18EF3 #F38E9D #D0F38E #8EF3E3
square
#B18EF3 #F38E9D #D0F38E #8EF3E3
split-complementary
#B18EF3 #F3E38E #9DF38E
monochromatic
#651FE7 #8B57ED #B18EF3 #D7C5F9 #ECE3FC
Accessibility & contrast
On white
2.61
#B18EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#B18EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18EF3
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18EF3 | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#A4A0B5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b18ef3; /* rgb */ color: rgb(177, 142, 243); /* oklch */ color: oklch(71.9% 0.147 298.6);
Tailwind
colors: {
custom: {
50: '#caaff7',
500: '#b18ef3',
950: '#000000',
},
}SCSS
$custom: #b18ef3; $custom-light: #caaff7; $custom-dark: #000000;
JSON
{
"hex": "#b18ef3",
"rgb": {
"r": 177,
"g": 142,
"b": 243
},
"hsl": {
"h": 260.792,
"s": 80.8,
"l": 75.49
},
"oklch": {
"l": 0.71939,
"c": 0.14654,
"h": 298.6
},
"luminance": 0.35164
}Semantic roles & 50–950 ramp
primary
#B18EF3
secondary
#EAF4D7
accent
#DD0893
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85