#BB96D2#BB96D2

#BB96D2 is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.8% C 0.094 H 312.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BB96D2
RGBrgb(187, 150, 210)
HSLhsl(277, 40%, 71%)
HSVhsv(277, 29%, 82%)
CMYKcmyk(11%, 28.6%, 0%, 17.6%)
CIE-LABlab(67.30, 24.87, -25.50)
CIE-LCHlch(67.30, 35.63, 314.28°)
OKLaboklab(72.79% 0.063 -0.0697)
OKLCHoklch(72.79% 0.094 312.1)
XYZxyz(43.0308, 37.0312, 65.8411)
Luminance0.3703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96D2 #ADD296
analogous
#9D96D2 #BB96D2 #D296CB
triadic
#BB96D2 #D2BB96 #96D2BB
tetradic
#BB96D2 #D29D96 #ADD296 #96CBD2
square
#BB96D2 #D29D96 #ADD296 #96CBD2
split-complementary
#BB96D2 #CBD296 #96D29D
monochromatic
#8247A6 #9F6BC0 #BB96D2 #D7C1E4 #F1EAF6

Accessibility & contrast

On white

2.50
#BB96D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BB96D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96D2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96D2#FFFFFF#000000##000000
##BB96D21.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA2D4
Deuteranopia (green-blind)
#94A5D0
Tritanopia (blue-blind)
#B99EAB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb96d2;
/* rgb */ color: rgb(187, 150, 210);
/* oklch */ color: oklch(72.8% 0.094 312.1);
Tailwind
colors: {
  custom: {
    50: '#d0b5e0',
    500: '#bb96d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb96d2;
$custom-light: #d0b5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96d2",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 210
  },
  "hsl": {
    "h": 277,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.09391,
    "h": 312.1
  },
  "luminance": 0.37031
}

Semantic roles & 50–950 ramp

primary
#BB96D2
secondary
#E0EADA
accent
#B33264
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB96D2

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

Preview Lab → · Contrast checker → · Palette generator →

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