#BB97CA#BB97CA

#BB97CA is a light, moderate purple. Relative luminance 0.370; OKLCH L 72.7% C 0.082 H 315.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#BB97CA
RGBrgb(187, 151, 202)
HSLhsl(282, 32%, 69%)
HSVhsv(282, 25%, 79%)
CMYKcmyk(7.4%, 25.2%, 0%, 20.8%)
CIE-LABlab(67.25, 22.67, -21.14)
CIE-LCHlch(67.25, 30.99, 317.00°)
OKLaboklab(72.65% 0.0591 -0.0574)
OKLCHoklch(72.65% 0.082 315.8)
XYZxyz(42.2192, 36.9629, 60.7761)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97CA #A6CA97
analogous
#A297CA #BB97CA #CA97C0
triadic
#BB97CA #CABB97 #97CABB
tetradic
#BB97CA #CAA297 #A6CA97 #97C0CA
square
#BB97CA #CAA297 #A6CA97 #97C0CA
split-complementary
#BB97CA #C0CA97 #97CAA2
monochromatic
#834E99 #A06EB5 #BB97CA #D6C0DF #F0E8F3

Accessibility & contrast

On white

2.50
#BB97CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#BB97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97CA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97CA#FFFFFF#000000##000000
##BB97CA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CC
Deuteranopia (green-blind)
#98A5C8
Tritanopia (blue-blind)
#BB9DA9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb97ca;
/* rgb */ color: rgb(187, 151, 202);
/* oklch */ color: oklch(72.7% 0.082 315.8);
Tailwind
colors: {
  custom: {
    50: '#d0b5da',
    500: '#bb97ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb97ca;
$custom-light: #d0b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97ca",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 282.353,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.08242,
    "h": 315.8
  },
  "luminance": 0.36962
}

Semantic roles & 50–950 ramp

primary
#BB97CA
secondary
#DBE6D7
accent
#AB3A5B
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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