#B98BBB#B98BBB

#B98BBB is a light, moderate purple. Relative luminance 0.324; OKLCH L 69.7% C 0.086 H 325.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B98BBB
RGBrgb(185, 139, 187)
HSLhsl(298, 26%, 64%)
HSVhsv(298, 26%, 73%)
CMYKcmyk(1.1%, 25.7%, 0%, 26.7%)
CIE-LABlab(63.65, 25.71, -18.24)
CIE-LCHlch(63.65, 31.53, 324.64°)
OKLaboklab(69.67% 0.0706 -0.0493)
OKLCHoklch(69.67% 0.086 325.1)
XYZxyz(38.2089, 32.3684, 51.2391)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BBB #8DBB8B
analogous
#A18BBB #B98BBB #BB8BA5
triadic
#B98BBB #BBB98B #8BBBB9
tetradic
#B98BBB #BBA18B #8DBB8B #8BA5BB
square
#B98BBB #BBA18B #8DBB8B #8BA5BB
split-complementary
#B98BBB #A5BB8B #8BBBA1
monochromatic
#7E4B80 #A264A4 #B98BBB #D0B2D2 #E8D8E8

Accessibility & contrast

On white

2.81
#B98BBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B98BBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BBB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BBB#FFFFFF#000000##000000
##B98BBB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BD
Deuteranopia (green-blind)
#929CB9
Tritanopia (blue-blind)
#BC8F9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b98bbb;
/* rgb */ color: rgb(185, 139, 187);
/* oklch */ color: oklch(69.7% 0.086 325.1);
Tailwind
colors: {
  custom: {
    50: '#ceadcf',
    500: '#b98bbb',
    950: '#000000',
  },
}
SCSS
$custom: #b98bbb;
$custom-light: #ceadcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bbb",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 297.5,
    "s": 26.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69668,
    "c": 0.08606,
    "h": 325.1
  },
  "luminance": 0.32367
}

Semantic roles & 50–950 ramp

primary
#B98BBB
secondary
#C9D9C8
accent
#A54145
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #B98BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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