#BB97DD#BB97DD

#BB97DD is a light, moderate violet. Relative luminance 0.379; OKLCH L 73.4% C 0.106 H 307.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BB97DD
RGBrgb(187, 151, 221)
HSLhsl(271, 51%, 73%)
HSVhsv(271, 32%, 87%)
CMYKcmyk(15.4%, 31.7%, 0%, 13.3%)
CIE-LABlab(67.96, 26.67, -30.57)
CIE-LCHlch(67.96, 40.57, 311.09°)
OKLaboklab(73.43% 0.0644 -0.0841)
OKLCHoklch(73.43% 0.106 307.5)
XYZxyz(44.6088, 37.9188, 73.3616)
Luminance0.3792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97DD #B9DD97
analogous
#9897DD #BB97DD #DD97DC
triadic
#BB97DD #DDBB97 #97DDBB
tetradic
#BB97DD #DD9897 #B9DD97 #97DCDD
square
#BB97DD #DD9897 #B9DD97 #97DCDD
split-complementary
#BB97DD #DCDD97 #97DD98
monochromatic
#7F3DBC #9D69CE #BB97DD #D9C5EC #F0E8F7

Accessibility & contrast

On white

2.45
#BB97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#BB97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97DD
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97DD#FFFFFF#000000##000000
##BB97DD1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4E0
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#B7A1B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97dd;
/* rgb */ color: rgb(187, 151, 221);
/* oklch */ color: oklch(73.4% 0.106 307.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6e7',
    500: '#bb97dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb97dd;
$custom-light: #d0b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97dd",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 270.857,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.10592,
    "h": 307.5
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

primary
#BB97DD
secondary
#E5EFDC
accent
#BE2771
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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