#B18CDA#B18CDA
#B18CDA is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.4% C 0.118 H 305.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CDA |
|---|---|
| RGB | rgb(177, 140, 218) |
| HSL | hsl(268, 51%, 70%) |
| HSV | hsv(268, 36%, 85%) |
| CMYK | cmyk(18.8%, 35.8%, 0%, 14.5%) |
| CIE-LAB | lab(64.29, 29.10, -34.67) |
| CIE-LCH | lch(64.29, 45.26, 310.01°) |
| OKLab | oklab(70.38% 0.068 -0.0959) |
| OKLCH | oklch(70.38% 0.118 305.4) |
| XYZ | xyz(40.1619, 33.1654, 70.6018) |
| Luminance | 0.3317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.68
Lavender
#B39DDB
ΔE00 5.25
Wisteria
#A87DC2
ΔE00 5.44
Lavender (survey)
#C79FEF
ΔE00 5.86
Liliac
#C48EFD
ΔE00 6.04
Baby Purple
#CA9BF7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CDA #B5DA8C
analogous
#8C8EDA #B18CDA #D88CDA
triadic
#B18CDA #DAB18C #8CDAB1
tetradic
#B18CDA #DA8C8E #B5DA8C #8CDAD8
square
#B18CDA #DA8C8E #B5DA8C #8CDAD8
split-complementary
#B18CDA #DAD88C #8EDA8C
monochromatic
#7339B2 #925ECB #B18CDA #D0BAE9 #EFE8F8
Accessibility & contrast
On white
2.75
#B18CDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#B18CDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CDA
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CDA | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9BDD
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#AB98A9
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b18cda; /* rgb */ color: rgb(177, 140, 218); /* oklch */ color: oklch(70.4% 0.118 305.4);
Tailwind
colors: {
custom: {
50: '#c9aee5',
500: '#b18cda',
950: '#000000',
},
}SCSS
$custom: #b18cda; $custom-light: #c9aee5; $custom-dark: #000000;
JSON
{
"hex": "#b18cda",
"rgb": {
"r": 177,
"g": 140,
"b": 218
},
"hsl": {
"h": 268.462,
"s": 51.316,
"l": 70.196
},
"oklch": {
"l": 0.70375,
"c": 0.11757,
"h": 305.4
},
"luminance": 0.33165
}Semantic roles & 50–950 ramp
primary
#B18CDA
secondary
#E1ECD6
accent
#BF2777
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84