#B398BF#B398BF
#B398BF is a light, moderate purple. Relative luminance 0.358; OKLCH L 71.7% C 0.063 H 315.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B398BF |
|---|---|
| RGB | rgb(179, 152, 191) |
| HSL | hsl(282, 23%, 67%) |
| HSV | hsv(282, 20%, 75%) |
| CMYK | cmyk(6.3%, 20.4%, 0%, 25.1%) |
| CIE-LAB | lab(66.37, 17.21, -16.42) |
| CIE-LCH | lch(66.37, 23.78, 316.35°) |
| OKLab | oklab(71.67% 0.045 -0.0444) |
| OKLCH | oklch(71.67% 0.063 315.4) |
| XYZ | xyz(39.2211, 35.8022, 54.1245) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.71
Heather
#A484AC
ΔE00 6.14
Dusty Lavender
#AC86A8
ΔE00 6.18
Lavender
#B39DDB
ΔE00 6.85
Pale Purple
#B790D4
ΔE00 6.96
Plum
#DDA0DD
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B398BF #A4BF98
analogous
#A098BF #B398BF #BF98B8
triadic
#B398BF #BFB398 #98BFB3
tetradic
#B398BF #BFA098 #A4BF98 #98B8BF
square
#B398BF #BFA098 #A4BF98 #98B8BF
split-complementary
#B398BF #B8BF98 #98BFA0
monochromatic
#785588 #9772A8 #B398BF #CFBED6 #EBE3EE
Accessibility & contrast
On white
2.57
#B398BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#B398BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B398BF
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B398BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B398BF | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A0C1
Deuteranopia (green-blind)
#99A2BE
Tritanopia (blue-blind)
#B39CA5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b398bf; /* rgb */ color: rgb(179, 152, 191); /* oklch */ color: oklch(71.7% 0.063 315.4);
Tailwind
colors: {
custom: {
50: '#cab6d2',
500: '#b398bf',
950: '#000000',
},
}SCSS
$custom: #b398bf; $custom-light: #cab6d2; $custom-dark: #000000;
JSON
{
"hex": "#b398bf",
"rgb": {
"r": 179,
"g": 152,
"b": 191
},
"hsl": {
"h": 281.538,
"s": 23.353,
"l": 67.255
},
"oklch": {
"l": 0.71671,
"c": 0.06318,
"h": 315.4
},
"luminance": 0.35802
}Semantic roles & 50–950 ramp
primary
#B398BF
secondary
#D7E0D3
accent
#A24461
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082