#B97FB2#B97FB2

#B97FB2 is a light, moderate purple. Relative luminance 0.287; OKLCH L 67.2% C 0.099 H 330.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B97FB2
RGBrgb(185, 127, 178)
HSLhsl(307, 29%, 61%)
HSVhsv(307, 31%, 73%)
CMYKcmyk(0%, 31.4%, 3.8%, 27.5%)
CIE-LABlab(60.52, 30.68, -17.89)
CIE-LCHlch(60.52, 35.52, 329.76°)
OKLaboklab(67.18% 0.0865 -0.0482)
OKLCHoklch(67.18% 0.099 330.9)
XYZxyz(35.6323, 28.7088, 45.7753)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FB2 #7FB986
analogous
#A37FB9 #B97FB2 #B97F95
triadic
#B97FB2 #B2B97F #7FB2B9
tetradic
#B97FB2 #B9A37F #7FB986 #7F95B9
square
#B97FB2 #B9A37F #7FB986 #7F95B9
split-complementary
#B97FB2 #95B97F #7FB9A3
monochromatic
#7B4374 #A25999 #B97FB2 #CFA7CA #E4CEE2

Accessibility & contrast

On white

3.12
#B97FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B97FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97FB2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FB2#FFFFFF#000000##000000
##B97FB21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#8B95B0
Tritanopia (blue-blind)
#BE8391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b97fb2;
/* rgb */ color: rgb(185, 127, 178);
/* oklch */ color: oklch(67.2% 0.099 330.9);
Tailwind
colors: {
  custom: {
    50: '#cfa5c9',
    500: '#b97fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b97fb2;
$custom-light: #cfa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fb2",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 307.241,
    "s": 29.293,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.09901,
    "h": 330.9
  },
  "luminance": 0.28707
}

Semantic roles & 50–950 ramp

primary
#B97FB2
secondary
#BFD5C2
accent
#A84A3E
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Preview Lab

Preview with #B97FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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