#B97DCB#B97DCB

#B97DCB is a light, vivid purple. Relative luminance 0.293; OKLCH L 67.9% C 0.129 H 318.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B97DCB
RGBrgb(185, 125, 203)
HSLhsl(286, 43%, 64%)
HSVhsv(286, 38%, 80%)
CMYKcmyk(8.9%, 38.4%, 0%, 20.4%)
CIE-LABlab(61.04, 36.66, -31.26)
CIE-LCHlch(61.04, 48.18, 319.54°)
OKLaboklab(67.89% 0.096 -0.0859)
OKLCHoklch(67.89% 0.129 318.2)
XYZxyz(38.1192, 29.2944, 60.1347)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DCB #8FCB7D
analogous
#927DCB #B97DCB #CB7DB6
triadic
#B97DCB #CBB97D #7DCBB9
tetradic
#B97DCB #CB927D #8FCB7D #7DB6CB
square
#B97DCB #CB927D #8FCB7D #7DB6CB
split-complementary
#B97DCB #B6CB7D #7DCB92
monochromatic
#7F3B93 #A151BA #B97DCB #D1A9DC #E8D4EE

Accessibility & contrast

On white

3.06
#B97DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B97DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97DCB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DCB#FFFFFF#000000##000000
##B97DCB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCE
Deuteranopia (green-blind)
#8195C9
Tritanopia (blue-blind)
#B9879B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b97dcb;
/* rgb */ color: rgb(185, 125, 203);
/* oklch */ color: oklch(67.9% 0.129 318.2);
Tailwind
colors: {
  custom: {
    50: '#cfa4db',
    500: '#b97dcb',
    950: '#000000',
  },
}
SCSS
$custom: #b97dcb;
$custom-light: #cfa4db;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dcb",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 286.154,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67891,
    "c": 0.12883,
    "h": 318.2
  },
  "luminance": 0.29293
}

Semantic roles & 50–950 ramp

primary
#B97DCB
secondary
#CBDFC4
accent
#B6304F
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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