#B97DCA#B97DCA

#B97DCA is a light, vivid purple. Relative luminance 0.292; OKLCH L 67.8% C 0.128 H 318.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B97DCA
RGBrgb(185, 125, 202)
HSLhsl(287, 42%, 64%)
HSVhsv(287, 38%, 79%)
CMYKcmyk(8.4%, 38.1%, 0%, 20.8%)
CIE-LABlab(61.00, 36.45, -30.76)
CIE-LCHlch(61.00, 47.70, 319.84°)
OKLaboklab(67.85% 0.0958 -0.0845)
OKLCHoklch(67.85% 0.128 318.6)
XYZxyz(38.0004, 29.2469, 59.5091)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DCA #8ECA7D
analogous
#937DCA #B97DCA #CA7DB5
triadic
#B97DCA #CAB97D #7DCAB9
tetradic
#B97DCA #CA937D #8ECA7D #7DB5CA
square
#B97DCA #CA937D #8ECA7D #7DB5CA
split-complementary
#B97DCA #B5CA7D #7DCA93
monochromatic
#7E3B91 #A252B8 #B97DCA #D0A8DC #E8D4ED

Accessibility & contrast

On white

3.07
#B97DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B97DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97DCA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DCA#FFFFFF#000000##000000
##B97DCA1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#B9869A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b97dca;
/* rgb */ color: rgb(185, 125, 202);
/* oklch */ color: oklch(67.8% 0.128 318.6);
Tailwind
colors: {
  custom: {
    50: '#cfa4da',
    500: '#b97dca',
    950: '#000000',
  },
}
SCSS
$custom: #b97dca;
$custom-light: #cfa4da;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dca",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 286.753,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.12772,
    "h": 318.6
  },
  "luminance": 0.29246
}

Semantic roles & 50–950 ramp

primary
#B97DCA
secondary
#CADFC4
accent
#B5304E
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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