#B18CD8#B18CD8
#B18CD8 is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.3% C 0.115 H 306.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CD8 |
|---|---|
| RGB | rgb(177, 140, 216) |
| HSL | hsl(269, 49%, 70%) |
| HSV | hsv(269, 35%, 85%) |
| CMYK | cmyk(18.1%, 35.2%, 0%, 15.3%) |
| CIE-LAB | lab(64.21, 28.65, -33.69) |
| CIE-LCH | lch(64.21, 44.22, 310.38°) |
| OKLab | oklab(70.28% 0.0676 -0.0931) |
| OKLCH | oklch(70.28% 0.115 306) |
| XYZ | xyz(39.9018, 33.0614, 69.2318) |
| Luminance | 0.3306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.34
Lavender
#B39DDB
ΔE00 5.16
Wisteria
#A87DC2
ΔE00 5.20
Lavender (survey)
#C79FEF
ΔE00 5.94
Baby Purple
#CA9BF7
ΔE00 6.24
Liliac
#C48EFD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CD8 #B3D88C
analogous
#8C8DD8 #B18CD8 #D78CD8
triadic
#B18CD8 #D8B18C #8CD8B1
tetradic
#B18CD8 #D88C8D #B3D88C #8CD8D7
square
#B18CD8 #D88C8D #B3D88C #8CD8D7
split-complementary
#B18CD8 #D8D78C #8DD88C
monochromatic
#733BAE #925EC9 #B18CD8 #D0BAE7 #EFE7F7
Accessibility & contrast
On white
2.76
#B18CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#B18CD8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CD8
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CD8 | 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)
#7C9ADB
Deuteranopia (green-blind)
#849CD6
Tritanopia (blue-blind)
#AB97A8
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b18cd8; /* rgb */ color: rgb(177, 140, 216); /* oklch */ color: oklch(70.3% 0.115 306.0);
Tailwind
colors: {
custom: {
50: '#c9aee4',
500: '#b18cd8',
950: '#000000',
},
}SCSS
$custom: #b18cd8; $custom-light: #c9aee4; $custom-dark: #000000;
JSON
{
"hex": "#b18cd8",
"rgb": {
"r": 177,
"g": 140,
"b": 216
},
"hsl": {
"h": 269.211,
"s": 49.351,
"l": 69.804
},
"oklch": {
"l": 0.70284,
"c": 0.11501,
"h": 306
},
"luminance": 0.33061
}Semantic roles & 50–950 ramp
primary
#B18CD8
secondary
#E0EBD5
accent
#BD2975
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83