#B98BB2#B98BB2

#B98BB2 is a light, moderate purple. Relative luminance 0.320; OKLCH L 69.3% C 0.077 H 331.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B98BB2
RGBrgb(185, 139, 178)
HSLhsl(309, 25%, 64%)
HSVhsv(309, 25%, 73%)
CMYKcmyk(0%, 24.9%, 3.8%, 27.5%)
CIE-LABlab(63.34, 24.01, -13.63)
CIE-LCHlch(63.34, 27.61, 330.42°)
OKLaboklab(69.33% 0.0677 -0.0365)
OKLCHoklch(69.33% 0.077 331.7)
XYZxyz(37.2754, 31.9951, 46.3230)
Luminance0.3199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BB2 #8BB992
analogous
#A98BB9 #B98BB2 #B98B9B
triadic
#B98BB2 #B2B98B #8BB2B9
tetradic
#B98BB2 #B9A98B #8BB992 #8B9BB9
square
#B98BB2 #B9A98B #8BB992 #8B9BB9
split-complementary
#B98BB2 #9BB98B #8BB9A9
monochromatic
#7E4C76 #A26599 #B98BB2 #D0B1CB #E7D7E5

Accessibility & contrast

On white

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

On black

7.40
#B98BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BB2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BB2#FFFFFF#000000##000000
##B98BB21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A95B4
Deuteranopia (green-blind)
#959CB0
Tritanopia (blue-blind)
#BD8D98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b98bb2;
/* rgb */ color: rgb(185, 139, 178);
/* oklch */ color: oklch(69.3% 0.077 331.7);
Tailwind
colors: {
  custom: {
    50: '#ceadc9',
    500: '#b98bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b98bb2;
$custom-light: #ceadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bb2",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 309.13,
    "s": 24.731,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69331,
    "c": 0.07691,
    "h": 331.7
  },
  "luminance": 0.31994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B98BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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