#B18FD9#B18FD9
#B18FD9 is a light, moderate violet. Relative luminance 0.340; OKLCH L 70.9% C 0.111 H 304.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B18FD9 |
|---|---|
| RGB | rgb(177, 143, 217) |
| HSL | hsl(268, 49%, 71%) |
| HSV | hsv(268, 34%, 85%) |
| CMYK | cmyk(18.4%, 34.1%, 0%, 14.9%) |
| CIE-LAB | lab(64.96, 27.19, -33.07) |
| CIE-LCH | lch(64.96, 42.82, 309.43°) |
| OKLab | oklab(70.87% 0.0635 -0.0913) |
| OKLCH | oklch(70.87% 0.111 304.8) |
| XYZ | xyz(40.4758, 34.0019, 70.0629) |
| Luminance | 0.3400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.19
Lavender
#B39DDB
ΔE00 4.28
Lavender (survey)
#C79FEF
ΔE00 5.41
Wisteria
#A87DC2
ΔE00 5.90
Baby Purple
#CA9BF7
ΔE00 5.94
Liliac
#C48EFD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18FD9 #B7D98F
analogous
#8F92D9 #B18FD9 #D68FD9
triadic
#B18FD9 #D9B18F #8FD9B1
tetradic
#B18FD9 #D98F92 #B7D98F #8FD9D6
square
#B18FD9 #D98F92 #B7D98F #8FD9D6
split-complementary
#B18FD9 #D9D68F #92D98F
monochromatic
#723CB1 #9161C9 #B18FD9 #D1BDE9 #EFE8F7
Accessibility & contrast
On white
2.69
#B18FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#B18FD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18FD9
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18FD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18FD9 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F9DDC
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#AB9AAA
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b18fd9; /* rgb */ color: rgb(177, 143, 217); /* oklch */ color: oklch(70.9% 0.111 304.8);
Tailwind
colors: {
custom: {
50: '#c9b0e5',
500: '#b18fd9',
950: '#000000',
},
}SCSS
$custom: #b18fd9; $custom-light: #c9b0e5; $custom-dark: #000000;
JSON
{
"hex": "#b18fd9",
"rgb": {
"r": 177,
"g": 143,
"b": 217
},
"hsl": {
"h": 267.568,
"s": 49.333,
"l": 70.588
},
"oklch": {
"l": 0.70871,
"c": 0.11122,
"h": 304.8
},
"luminance": 0.34002
}Semantic roles & 50–950 ramp
primary
#B18FD9
secondary
#E3ECD8
accent
#BD2979
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84