#B18CD9#B18CD9
#B18CD9 is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.3% C 0.116 H 305.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CD9 |
|---|---|
| RGB | rgb(177, 140, 217) |
| HSL | hsl(269, 50%, 70%) |
| HSV | hsv(269, 35%, 85%) |
| CMYK | cmyk(18.4%, 35.5%, 0%, 14.9%) |
| CIE-LAB | lab(64.25, 28.88, -34.18) |
| CIE-LCH | lch(64.25, 44.74, 310.19°) |
| OKLab | oklab(70.33% 0.0678 -0.0945) |
| OKLCH | oklch(70.33% 0.116 305.7) |
| XYZ | xyz(40.0314, 33.1132, 69.9148) |
| Luminance | 0.3311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.51
Lavender
#B39DDB
ΔE00 5.20
Wisteria
#A87DC2
ΔE00 5.32
Lavender (survey)
#C79FEF
ΔE00 5.89
Baby Purple
#CA9BF7
ΔE00 6.14
Liliac
#C48EFD
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CD9 #B4D98C
analogous
#8C8ED9 #B18CD9 #D78CD9
triadic
#B18CD9 #D9B18C #8CD9B1
tetradic
#B18CD9 #D98C8E #B4D98C #8CD9D7
square
#B18CD9 #D98C8E #B4D98C #8CD9D7
split-complementary
#B18CD9 #D9D78C #8ED98C
monochromatic
#733AB0 #925ECA #B18CD9 #D0BAE8 #EFE8F7
Accessibility & contrast
On white
2.75
#B18CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#B18CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CD9
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CD9 | 1.00 | 2.75 | 7.62 | 7.62 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C9ADC
Deuteranopia (green-blind)
#849CD7
Tritanopia (blue-blind)
#AB98A9
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b18cd9; /* rgb */ color: rgb(177, 140, 217); /* oklch */ color: oklch(70.3% 0.116 305.7);
Tailwind
colors: {
custom: {
50: '#c9aee5',
500: '#b18cd9',
950: '#000000',
},
}SCSS
$custom: #b18cd9; $custom-light: #c9aee5; $custom-dark: #000000;
JSON
{
"hex": "#b18cd9",
"rgb": {
"r": 177,
"g": 140,
"b": 217
},
"hsl": {
"h": 268.831,
"s": 50.327,
"l": 70
},
"oklch": {
"l": 0.7033,
"c": 0.11629,
"h": 305.7
},
"luminance": 0.33113
}Semantic roles & 50–950 ramp
primary
#B18CD9
secondary
#E1EBD6
accent
#BE2876
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84