#BB96D7#BB96D7

#BB96D7 is a light, moderate violet. Relative luminance 0.373; OKLCH L 73.0% C 0.100 H 310.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#BB96D7
RGBrgb(187, 150, 215)
HSLhsl(274, 45%, 72%)
HSVhsv(274, 30%, 84%)
CMYKcmyk(13%, 30.2%, 0%, 15.7%)
CIE-LABlab(67.49, 25.93, -27.98)
CIE-LCHlch(67.49, 38.15, 312.82°)
OKLaboklab(72.99% 0.0643 -0.0767)
OKLCHoklch(72.99% 0.1 310)
XYZxyz(43.6634, 37.2843, 69.1732)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96D7 #B2D796
analogous
#9B96D7 #BB96D7 #D796D3
triadic
#BB96D7 #D7BB96 #96D7BB
tetradic
#BB96D7 #D79B96 #B2D796 #96D3D7
square
#BB96D7 #D79B96 #B2D796 #96D3D7
split-complementary
#BB96D7 #D3D796 #96D79B
monochromatic
#8143B0 #9E6AC6 #BB96D7 #D8C2E8 #F1E9F7

Accessibility & contrast

On white

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

On black

8.46
#BB96D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96D7
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96D7#FFFFFF#000000##000000
##BB96D71.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA3DA
Deuteranopia (green-blind)
#93A5D5
Tritanopia (blue-blind)
#B89FAD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb96d7;
/* rgb */ color: rgb(187, 150, 215);
/* oklch */ color: oklch(73.0% 0.100 310.0);
Tailwind
colors: {
  custom: {
    50: '#d0b5e3',
    500: '#bb96d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb96d7;
$custom-light: #d0b5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96d7",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 215
  },
  "hsl": {
    "h": 274.154,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.10011,
    "h": 310
  },
  "luminance": 0.37284
}

Semantic roles & 50–950 ramp

primary
#BB96D7
secondary
#E3EDDC
accent
#B82E69
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB96D7

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

Preview Lab → · Contrast checker → · Palette generator →

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