#BB96DD#BB96DD

#BB96DD is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.2% C 0.108 H 307.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BB96DD
RGBrgb(187, 150, 221)
HSLhsl(271, 51%, 73%)
HSVhsv(271, 32%, 87%)
CMYKcmyk(15.4%, 32.1%, 0%, 13.3%)
CIE-LABlab(67.72, 27.22, -30.94)
CIE-LCHlch(67.72, 41.21, 311.34°)
OKLaboklab(73.25% 0.0659 -0.0851)
OKLCHoklch(73.25% 0.108 307.8)
XYZxyz(44.4486, 37.5983, 73.3082)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96DD #B8DD96
analogous
#9896DD #BB96DD #DD96DB
triadic
#BB96DD #DDBB96 #96DDBB
tetradic
#BB96DD #DD9896 #B8DD96 #96DBDD
square
#BB96DD #DD9896 #B8DD96 #96DBDD
split-complementary
#BB96DD #DBDD96 #96DD98
monochromatic
#7F3DBC #9D68CE #BB96DD #D9C4EC #F0E8F8

Accessibility & contrast

On white

2.46
#BB96DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BB96DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96DD
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96DD#FFFFFF#000000##000000
##BB96DD1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3E0
Deuteranopia (green-blind)
#90A5DB
Tritanopia (blue-blind)
#B7A0B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb96dd;
/* rgb */ color: rgb(187, 150, 221);
/* oklch */ color: oklch(73.2% 0.108 307.8);
Tailwind
colors: {
  custom: {
    50: '#d0b5e7',
    500: '#bb96dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb96dd;
$custom-light: #d0b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96dd",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 271.268,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.10763,
    "h": 307.8
  },
  "luminance": 0.37598
}

Semantic roles & 50–950 ramp

primary
#BB96DD
secondary
#E5EFDC
accent
#BE2770
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96DD

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

Preview Lab → · Contrast checker → · Palette generator →

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