#B98BB3#B98BB3

#B98BB3 is a light, moderate purple. Relative luminance 0.320; OKLCH L 69.4% C 0.078 H 330.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B98BB3
RGBrgb(185, 139, 179)
HSLhsl(308, 25%, 64%)
HSVhsv(308, 25%, 73%)
CMYKcmyk(0%, 24.9%, 3.2%, 27.5%)
CIE-LABlab(63.37, 24.19, -14.14)
CIE-LCHlch(63.37, 28.03, 329.69°)
OKLaboklab(69.37% 0.068 -0.0379)
OKLCHoklch(69.37% 0.078 330.9)
XYZxyz(37.3762, 32.0354, 46.8537)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BB3 #8BB991
analogous
#A88BB9 #B98BB3 #B98B9C
triadic
#B98BB3 #B3B98B #8BB3B9
tetradic
#B98BB3 #B9A88B #8BB991 #8B9CB9
square
#B98BB3 #B9A88B #8BB991 #8B9CB9
split-complementary
#B98BB3 #9CB98B #8BB9A8
monochromatic
#7E4C77 #A2659A #B98BB3 #D0B1CC #E7D7E5

Accessibility & contrast

On white

2.84
#B98BB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B98BB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BB3
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BB3#FFFFFF#000000##000000
##B98BB31.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B5
Deuteranopia (green-blind)
#949CB1
Tritanopia (blue-blind)
#BD8E99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b98bb3;
/* rgb */ color: rgb(185, 139, 179);
/* oklch */ color: oklch(69.4% 0.078 330.9);
Tailwind
colors: {
  custom: {
    50: '#ceadc9',
    500: '#b98bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b98bb3;
$custom-light: #ceadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bb3",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 307.826,
    "s": 24.731,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.07788,
    "h": 330.9
  },
  "luminance": 0.32034
}

Semantic roles & 50–950 ramp

primary
#B98BB3
secondary
#C8D8CA
accent
#A34F42
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #B98BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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