#B97BB2#B97BB2

#B97BB2 is a light, moderate purple. Relative luminance 0.277; OKLCH L 66.5% C 0.106 H 330.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B97BB2
RGBrgb(185, 123, 178)
HSLhsl(307, 31%, 60%)
HSVhsv(307, 34%, 73%)
CMYKcmyk(0%, 33.5%, 3.8%, 27.5%)
CIE-LABlab(59.61, 32.89, -19.27)
CIE-LCHlch(59.61, 38.12, 329.63°)
OKLaboklab(66.49% 0.0927 -0.052)
OKLCHoklch(66.49% 0.106 330.7)
XYZxyz(35.1259, 27.6960, 45.6065)
Luminance0.2769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BB2 #7BB982
analogous
#A17BB9 #B97BB2 #B97B93
triadic
#B97BB2 #B2B97B #7BB2B9
tetradic
#B97BB2 #B9A17B #7BB982 #7B93B9
square
#B97BB2 #B9A17B #7BB982 #7B93B9
split-complementary
#B97BB2 #93B97B #7BB9A1
monochromatic
#794073 #A15699 #B97BB2 #CEA3C9 #E3CBE1

Accessibility & contrast

On white

3.21
#B97BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B97BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97BB2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BB2#FFFFFF#000000##000000
##B97BB21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#8893B0
Tritanopia (blue-blind)
#BE7F8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b97bb2;
/* rgb */ color: rgb(185, 123, 178);
/* oklch */ color: oklch(66.5% 0.106 330.7);
Tailwind
colors: {
  custom: {
    50: '#cfa2c9',
    500: '#b97bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b97bb2;
$custom-light: #cfa2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bb2",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 306.774,
    "s": 30.693,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.10632,
    "h": 330.7
  },
  "luminance": 0.27695
}

Semantic roles & 50–950 ramp

primary
#B97BB2
secondary
#BCD4BF
accent
#A9483C
background
#FCFAFC
surface
#F9F3F8
border
#D2CDD1
text
#140F13
muted
#827F82

Preview Lab

Preview with #B97BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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