#BB96DC#BB96DC

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

Color values

HEX#BB96DC
RGBrgb(187, 150, 220)
HSLhsl(272, 50%, 73%)
HSVhsv(272, 32%, 86%)
CMYKcmyk(15%, 31.8%, 0%, 13.7%)
CIE-LABlab(67.68, 27.01, -30.45)
CIE-LCHlch(67.68, 40.70, 311.57°)
OKLaboklab(73.21% 0.0656 -0.0837)
OKLCHoklch(73.21% 0.106 308.1)
XYZxyz(44.3157, 37.5452, 72.6086)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96DC #B7DC96
analogous
#9896DC #BB96DC #DC96DA
triadic
#BB96DC #DCBB96 #96DCBB
tetradic
#BB96DC #DC9896 #B7DC96 #96DADC
square
#BB96DC #DC9896 #B7DC96 #96DADC
split-complementary
#BB96DC #DADC96 #96DC98
monochromatic
#7F3EBA #9D68CD #BB96DC #D9C4EB #F0E8F7

Accessibility & contrast

On white

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

On black

8.51
#BB96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96DC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96DC#FFFFFF#000000##000000
##BB96DC1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb96dc;
/* rgb */ color: rgb(187, 150, 220);
/* oklch */ color: oklch(73.2% 0.106 308.1);
Tailwind
colors: {
  custom: {
    50: '#d0b5e7',
    500: '#bb96dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb96dc;
$custom-light: #d0b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96dc",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 271.714,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.10637,
    "h": 308.1
  },
  "luminance": 0.37545
}

Semantic roles & 50–950 ramp

primary
#BB96DC
secondary
#E5EEDD
accent
#BD286E
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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