#B298B2#B298B2
#B298B2 is a light, muted purple. Relative luminance 0.351; OKLCH L 71.1% C 0.047 H 326.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B298B2 |
|---|---|
| RGB | rgb(178, 152, 178) |
| HSL | hsl(300, 14%, 65%) |
| HSV | hsv(300, 15%, 70%) |
| CMYK | cmyk(0%, 14.6%, 0%, 30.2%) |
| CIE-LAB | lab(65.85, 14.30, -9.93) |
| CIE-LCH | lch(65.85, 17.41, 325.23°) |
| OKLab | oklab(71.11% 0.0394 -0.0265) |
| OKLCH | oklch(71.11% 0.047 326.1) |
| XYZ | xyz(37.6232, 35.1364, 46.9109) |
| Luminance | 0.3514 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.87
Dusty Lavender
#AC86A8
ΔE00 5.98
Heather
#A484AC
ΔE00 7.15
Light Mauve
#C292A1
ΔE00 7.58
Grey Pink
#C3909B
ΔE00 9.16
Purpley Grey
#947E94
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B298B2 #98B298
analogous
#A598B2 #B298B2 #B298A5
triadic
#B298B2 #B2B298 #98B2B2
tetradic
#B298B2 #B2A598 #98B298 #98A5B2
square
#B298B2 #B2A598 #98B298 #98A5B2
split-complementary
#B298B2 #A5B298 #98B2A5
monochromatic
#775977 #987598 #B298B2 #CCBBCC #E6DEE6
Accessibility & contrast
On white
2.62
#B298B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#B298B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B298B2
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B298B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B298B2 | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#969EB3
Deuteranopia (green-blind)
#9CA1B1
Tritanopia (blue-blind)
#B49AA1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b298b2; /* rgb */ color: rgb(178, 152, 178); /* oklch */ color: oklch(71.1% 0.047 326.1);
Tailwind
colors: {
custom: {
50: '#c9b6c9',
500: '#b298b2',
950: '#000000',
},
}SCSS
$custom: #b298b2; $custom-light: #c9b6c9; $custom-dark: #000000;
JSON
{
"hex": "#b298b2",
"rgb": {
"r": 178,
"g": 152,
"b": 178
},
"hsl": {
"h": 300,
"s": 14.444,
"l": 64.706
},
"oklch": {
"l": 0.71112,
"c": 0.04747,
"h": 326.1
},
"luminance": 0.35136
}Semantic roles & 50–950 ramp
primary
#B298B2
secondary
#CED7CE
accent
#994D4D
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131113
muted
#828082