#BB97C8#BB97C8

#BB97C8 is a light, moderate purple. Relative luminance 0.369; OKLCH L 72.6% C 0.080 H 317.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BB97C8
RGBrgb(187, 151, 200)
HSLhsl(284, 31%, 69%)
HSVhsv(284, 25%, 78%)
CMYKcmyk(6.5%, 24.5%, 0%, 21.6%)
CIE-LABlab(67.18, 22.26, -20.13)
CIE-LCHlch(67.18, 30.02, 317.87°)
OKLaboklab(72.57% 0.0585 -0.0546)
OKLCHoklch(72.57% 0.08 317)
XYZxyz(41.9839, 36.8688, 59.5371)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97C8 #A4C897
analogous
#A397C8 #BB97C8 #C897BD
triadic
#BB97C8 #C8BB97 #97C8BB
tetradic
#BB97C8 #C8A397 #A4C897 #97BDC8
square
#BB97C8 #C8A397 #A4C897 #97BDC8
split-complementary
#BB97C8 #BDC897 #97C8A3
monochromatic
#834F96 #A16FB3 #BB97C8 #D5BFDD #EFE7F2

Accessibility & contrast

On white

2.51
#BB97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BB97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97C8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97C8#FFFFFF#000000##000000
##BB97C81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A1CA
Deuteranopia (green-blind)
#99A5C6
Tritanopia (blue-blind)
#BB9CA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb97c8;
/* rgb */ color: rgb(187, 151, 200);
/* oklch */ color: oklch(72.6% 0.080 317.0);
Tailwind
colors: {
  custom: {
    50: '#d0b5d8',
    500: '#bb97c8',
    950: '#000000',
  },
}
SCSS
$custom: #bb97c8;
$custom-light: #d0b5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97c8",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 284.082,
    "s": 30.818,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72573,
    "c": 0.08004,
    "h": 317
  },
  "luminance": 0.36868
}

Semantic roles & 50–950 ramp

primary
#BB97C8
secondary
#DAE5D6
accent
#AA3C59
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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