#BB96D4#BB96D4

#BB96D4 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.9% C 0.096 H 311.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#BB96D4
RGBrgb(187, 150, 212)
HSLhsl(276, 42%, 71%)
HSVhsv(276, 29%, 83%)
CMYKcmyk(11.8%, 29.2%, 0%, 16.9%)
CIE-LABlab(67.38, 25.30, -26.50)
CIE-LCHlch(67.38, 36.63, 313.67°)
OKLaboklab(72.87% 0.0635 -0.0725)
OKLCHoklch(72.87% 0.096 311.2)
XYZxyz(43.2815, 37.1315, 67.1616)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96D4 #AFD496
analogous
#9C96D4 #BB96D4 #D496CE
triadic
#BB96D4 #D4BB96 #96D4BB
tetradic
#BB96D4 #D49C96 #AFD496 #96CED4
square
#BB96D4 #D49C96 #AFD496 #96CED4
split-complementary
#BB96D4 #CED496 #96D49C
monochromatic
#8246AA #9F6BC2 #BB96D4 #D7C1E6 #F1E9F6

Accessibility & contrast

On white

2.49
#BB96D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#BB96D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96D4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96D4#FFFFFF#000000##000000
##BB96D41.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA2D7
Deuteranopia (green-blind)
#94A5D2
Tritanopia (blue-blind)
#B99EAC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb96d4;
/* rgb */ color: rgb(187, 150, 212);
/* oklch */ color: oklch(72.9% 0.096 311.2);
Tailwind
colors: {
  custom: {
    50: '#d0b5e1',
    500: '#bb96d4',
    950: '#000000',
  },
}
SCSS
$custom: #bb96d4;
$custom-light: #d0b5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96d4",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 212
  },
  "hsl": {
    "h": 275.806,
    "s": 41.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.09638,
    "h": 311.2
  },
  "luminance": 0.37131
}

Semantic roles & 50–950 ramp

primary
#BB96D4
secondary
#E1EBDB
accent
#B53166
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB96D4

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

Preview Lab → · Contrast checker → · Palette generator →

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