#BB96D9#BB96D9

#BB96D9 is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.1% C 0.103 H 309.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#BB96D9
RGBrgb(187, 150, 217)
HSLhsl(273, 47%, 72%)
HSVhsv(273, 31%, 85%)
CMYKcmyk(13.8%, 30.9%, 0%, 14.9%)
CIE-LABlab(67.57, 26.36, -28.97)
CIE-LCHlch(67.57, 39.17, 312.30°)
OKLaboklab(73.08% 0.0649 -0.0795)
OKLCHoklch(73.08% 0.103 309.2)
XYZxyz(43.9220, 37.3877, 70.5349)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96D9 #B4D996
analogous
#9A96D9 #BB96D9 #D996D6
triadic
#BB96D9 #D9BB96 #96D9BB
tetradic
#BB96D9 #D99A96 #B4D996 #96D6D9
square
#BB96D9 #D99A96 #B4D996 #96D6D9
split-complementary
#BB96D9 #D6D996 #96D99A
monochromatic
#8041B4 #9E69C9 #BB96D9 #D8C3E9 #F0E9F7

Accessibility & contrast

On white

2.48
#BB96D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#BB96D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96D9
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96D9#FFFFFF#000000##000000
##BB96D91.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA3DC
Deuteranopia (green-blind)
#92A5D7
Tritanopia (blue-blind)
#B89FAE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb96d9;
/* rgb */ color: rgb(187, 150, 217);
/* oklch */ color: oklch(73.1% 0.103 309.2);
Tailwind
colors: {
  custom: {
    50: '#d0b5e5',
    500: '#bb96d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb96d9;
$custom-light: #d0b5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96d9",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 217
  },
  "hsl": {
    "h": 273.134,
    "s": 46.853,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73077,
    "c": 0.1026,
    "h": 309.2
  },
  "luminance": 0.37387
}

Semantic roles & 50–950 ramp

primary
#BB96D9
secondary
#E5EEDD
accent
#BA2B6B
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141115
muted
#828084

Preview Lab

Preview with #BB96D9

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

Preview Lab → · Contrast checker → · Palette generator →

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