#BB97DB#BB97DB

#BB97DB is a light, moderate violet. Relative luminance 0.378; OKLCH L 73.3% C 0.103 H 308.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BB97DB
RGBrgb(187, 151, 219)
HSLhsl(272, 49%, 73%)
HSVhsv(272, 31%, 86%)
CMYKcmyk(14.6%, 31.1%, 0%, 14.1%)
CIE-LABlab(67.88, 26.23, -29.59)
CIE-LCHlch(67.88, 39.54, 311.56°)
OKLaboklab(73.34% 0.0639 -0.0813)
OKLCHoklch(73.34% 0.103 308.2)
XYZxyz(44.3439, 37.8129, 71.9666)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97DB #B7DB97
analogous
#9997DB #BB97DB #DB97D9
triadic
#BB97DB #DBBB97 #97DBBB
tetradic
#BB97DB #DB9997 #B7DB97 #97D9DB
square
#BB97DB #DB9997 #B7DB97 #97D9DB
split-complementary
#BB97DB #D9DB97 #97DB99
monochromatic
#7F40B8 #9D6ACB #BB97DB #D9C4EB #F0E8F7

Accessibility & contrast

On white

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

On black

8.56
#BB97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97DB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97DB#FFFFFF#000000##000000
##BB97DB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#B7A0B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97db;
/* rgb */ color: rgb(187, 151, 219);
/* oklch */ color: oklch(73.3% 0.103 308.2);
Tailwind
colors: {
  custom: {
    50: '#d0b6e6',
    500: '#bb97db',
    950: '#000000',
  },
}
SCSS
$custom: #bb97db;
$custom-light: #d0b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97db",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 271.765,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73344,
    "c": 0.10339,
    "h": 308.2
  },
  "luminance": 0.37812
}

Semantic roles & 50–950 ramp

primary
#BB97DB
secondary
#E5EEDD
accent
#BC2A6E
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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