#B18CD2#B18CD2
#B18CD2 is a light, moderate violet. Relative luminance 0.328; OKLCH L 70.0% C 0.107 H 308.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CD2 |
|---|---|
| RGB | rgb(177, 140, 210) |
| HSL | hsl(272, 44%, 69%) |
| HSV | hsv(272, 33%, 82%) |
| CMYK | cmyk(15.7%, 33.3%, 0%, 17.6%) |
| CIE-LAB | lab(63.96, 27.32, -30.72) |
| CIE-LCH | lch(63.96, 41.11, 311.64°) |
| OKLab | oklab(70.01% 0.0661 -0.0846) |
| OKLCH | oklch(70.01% 0.107 308) |
| XYZ | xyz(39.1402, 32.7568, 65.2210) |
| Luminance | 0.3276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 1.55
Wisteria
#A87DC2
ΔE00 4.65
Lavender
#B39DDB
ΔE00 5.07
Lavender (survey)
#C79FEF
ΔE00 6.34
Baby Purple
#CA9BF7
ΔE00 6.95
Liliac
#C48EFD
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CD2 #ADD28C
analogous
#8E8CD2 #B18CD2 #D28CD0
triadic
#B18CD2 #D2B18C #8CD2B1
tetradic
#B18CD2 #D28E8C #ADD28C #8CD0D2
square
#B18CD2 #D28E8C #ADD28C #8CD0D2
split-complementary
#B18CD2 #D0D28C #8CD28E
monochromatic
#7540A4 #9360C1 #B18CD2 #CFB8E3 #EDE4F4
Accessibility & contrast
On white
2.78
#B18CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#B18CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CD2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CD2 | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F99D5
Deuteranopia (green-blind)
#869BD0
Tritanopia (blue-blind)
#AD96A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b18cd2; /* rgb */ color: rgb(177, 140, 210); /* oklch */ color: oklch(70.0% 0.107 308.0);
Tailwind
colors: {
custom: {
50: '#c9aee0',
500: '#b18cd2',
950: '#000000',
},
}SCSS
$custom: #b18cd2; $custom-light: #c9aee0; $custom-dark: #000000;
JSON
{
"hex": "#b18cd2",
"rgb": {
"r": 177,
"g": 140,
"b": 210
},
"hsl": {
"h": 271.714,
"s": 43.75,
"l": 68.627
},
"oklch": {
"l": 0.70014,
"c": 0.10739,
"h": 308
},
"luminance": 0.32756
}Semantic roles & 50–950 ramp
primary
#B18CD2
secondary
#DCE7D2
accent
#B72F6F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83