#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
RGBrgb(178, 152, 178)
HSLhsl(300, 14%, 65%)
HSVhsv(300, 15%, 70%)
CMYKcmyk(0%, 14.6%, 0%, 30.2%)
CIE-LABlab(65.85, 14.30, -9.93)
CIE-LCHlch(65.85, 17.41, 325.23°)
OKLaboklab(71.11% 0.0394 -0.0265)
OKLCHoklch(71.11% 0.047 326.1)
XYZxyz(37.6232, 35.1364, 46.9109)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##B298B21.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.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

Preview Lab

Preview with #B298B2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B298B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva