#B18EF6#B18EF6
#B18EF6 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.150 H 298.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B18EF6 |
|---|---|
| RGB | rgb(177, 142, 246) |
| HSL | hsl(260, 85%, 76%) |
| HSV | hsv(260, 42%, 96%) |
| CMYK | cmyk(28%, 42.3%, 0%, 3.5%) |
| CIE-LAB | lab(66.02, 34.54, -47.43) |
| CIE-LCH | lch(66.02, 58.67, 306.06°) |
| OKLab | oklab(72.09% 0.0707 -0.1327) |
| OKLCH | oklch(72.09% 0.15 298) |
| XYZ | xyz(44.4351, 35.3465, 91.6524) |
| Luminance | 0.3535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.65
Baby Purple
#CA9BF7
ΔE00 5.78
Pastel Purple
#CAA0FF
ΔE00 5.94
Light Purple
#BF77F6
ΔE00 6.64
Lavender (survey)
#C79FEF
ΔE00 6.80
Lilac (survey)
#CEA2FD
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18EF6 #D3F68E
analogous
#8E9FF6 #B18EF6 #E58EF6
triadic
#B18EF6 #F6B18E #8EF6B1
tetradic
#B18EF6 #F68E9F #D3F68E #8EF6E5
square
#B18EF6 #F68E9F #D3F68E #8EF6E5
split-complementary
#B18EF6 #F6E58E #9FF68E
monochromatic
#631DED #8A55F1 #B18EF6 #D8C7FB #EBE3FD
Accessibility & contrast
On white
2.60
#B18EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#B18EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18EF6
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18EF6 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A1FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#A3A0B6
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b18ef6; /* rgb */ color: rgb(177, 142, 246); /* oklch */ color: oklch(72.1% 0.150 298.0);
Tailwind
colors: {
custom: {
50: '#caaff9',
500: '#b18ef6',
950: '#000000',
},
}SCSS
$custom: #b18ef6; $custom-light: #caaff9; $custom-dark: #000000;
JSON
{
"hex": "#b18ef6",
"rgb": {
"r": 177,
"g": 142,
"b": 246
},
"hsl": {
"h": 260.192,
"s": 85.246,
"l": 76.078
},
"oklch": {
"l": 0.72093,
"c": 0.15041,
"h": 298
},
"luminance": 0.35347
}Semantic roles & 50–950 ramp
primary
#B18EF6
secondary
#EAF5D6
accent
#E20497
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85