#B18FDA#B18FDA
#B18FDA is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.9% C 0.113 H 304.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B18FDA |
|---|---|
| RGB | rgb(177, 143, 218) |
| HSL | hsl(267, 50%, 71%) |
| HSV | hsv(267, 34%, 85%) |
| CMYK | cmyk(18.8%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(65.01, 27.42, -33.56) |
| CIE-LCH | lch(65.01, 43.34, 309.24°) |
| OKLab | oklab(70.92% 0.0637 -0.0927) |
| OKLCH | oklch(70.92% 0.113 304.5) |
| XYZ | xyz(40.6063, 34.0541, 70.7500) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.37
Lavender
#B39DDB
ΔE00 4.34
Lavender (survey)
#C79FEF
ΔE00 5.36
Baby Purple
#CA9BF7
ΔE00 5.83
Wisteria
#A87DC2
ΔE00 6.00
Liliac
#C48EFD
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18FDA #B8DA8F
analogous
#8F92DA #B18FDA #D68FDA
triadic
#B18FDA #DAB18F #8FDAB1
tetradic
#B18FDA #DA8F92 #B8DA8F #8FDAD6
square
#B18FDA #DA8F92 #B8DA8F #8FDAD6
split-complementary
#B18FDA #DAD68F #92DA8F
monochromatic
#723BB3 #9161CB #B18FDA #D1BDE9 #EFE8F7
Accessibility & contrast
On white
2.69
#B18FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#B18FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18FDA
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18FDA | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F9DDD
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#AB9AAB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b18fda; /* rgb */ color: rgb(177, 143, 218); /* oklch */ color: oklch(70.9% 0.113 304.5);
Tailwind
colors: {
custom: {
50: '#c9b0e5',
500: '#b18fda',
950: '#000000',
},
}SCSS
$custom: #b18fda; $custom-light: #c9b0e5; $custom-dark: #000000;
JSON
{
"hex": "#b18fda",
"rgb": {
"r": 177,
"g": 143,
"b": 218
},
"hsl": {
"h": 267.2,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.70916,
"c": 0.11252,
"h": 304.5
},
"luminance": 0.34054
}Semantic roles & 50–950 ramp
primary
#B18FDA
secondary
#E3ECD8
accent
#BE287A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84