#BB96DB#BB96DB

#BB96DB is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.2% C 0.105 H 308.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#BB96DB
RGBrgb(187, 150, 219)
HSLhsl(272, 49%, 72%)
HSVhsv(272, 32%, 86%)
CMYKcmyk(14.6%, 31.5%, 0%, 14.1%)
CIE-LABlab(67.64, 26.79, -29.96)
CIE-LCHlch(67.64, 40.19, 311.80°)
OKLaboklab(73.16% 0.0654 -0.0823)
OKLCHoklch(73.16% 0.105 308.5)
XYZxyz(44.1837, 37.4924, 71.9132)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96DB #B6DB96
analogous
#9996DB #BB96DB #DB96D8
triadic
#BB96DB #DBBB96 #96DBBB
tetradic
#BB96DB #DB9996 #B6DB96 #96D8DB
square
#BB96DB #DB9996 #B6DB96 #96D8DB
split-complementary
#BB96DB #D8DB96 #96DB99
monochromatic
#803FB8 #9D68CB #BB96DB #D9C4EB #F0E8F7

Accessibility & contrast

On white

2.47
#BB96DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#BB96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96DB
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96DB#FFFFFF#000000##000000
##BB96DB1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DE
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#B7A0AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb96db;
/* rgb */ color: rgb(187, 150, 219);
/* oklch */ color: oklch(73.2% 0.105 308.5);
Tailwind
colors: {
  custom: {
    50: '#d0b5e6',
    500: '#bb96db',
    950: '#000000',
  },
}
SCSS
$custom: #bb96db;
$custom-light: #d0b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96db",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 272.174,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73163,
    "c": 0.10511,
    "h": 308.5
  },
  "luminance": 0.37492
}

Semantic roles & 50–950 ramp

primary
#BB96DB
secondary
#E5EEDD
accent
#BC296D
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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