#BB96E2#BB96E2

#BB96E2 is a light, moderate violet. Relative luminance 0.379; OKLCH L 73.5% C 0.114 H 306.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BB96E2
RGBrgb(187, 150, 226)
HSLhsl(269, 57%, 74%)
HSVhsv(269, 34%, 89%)
CMYKcmyk(17.3%, 33.6%, 0%, 11.4%)
CIE-LABlab(67.92, 28.32, -33.39)
CIE-LCHlch(67.92, 43.78, 310.30°)
OKLaboklab(73.47% 0.0671 -0.0921)
OKLCHoklch(73.47% 0.114 306.1)
XYZxyz(45.1247, 37.8687, 76.8689)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96E2 #BDE296
analogous
#9697E2 #BB96E2 #E196E2
triadic
#BB96E2 #E2BB96 #96E2BB
tetradic
#BB96E2 #E29697 #BDE296 #96E2E1
square
#BB96E2 #E29697 #BDE296 #96E2E1
split-complementary
#BB96E2 #E2E196 #97E296
monochromatic
#7D37C7 #9C66D5 #BB96E2 #DAC6EF #EFE7F8

Accessibility & contrast

On white

2.45
#BB96E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BB96E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96E2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96E2#FFFFFF#000000##000000
##BB96E21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A4E5
Deuteranopia (green-blind)
#8EA6E0
Tritanopia (blue-blind)
#B5A1B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb96e2;
/* rgb */ color: rgb(187, 150, 226);
/* oklch */ color: oklch(73.5% 0.114 306.1);
Tailwind
colors: {
  custom: {
    50: '#d0b5eb',
    500: '#bb96e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb96e2;
$custom-light: #d0b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96e2",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 269.211,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73467,
    "c": 0.11396,
    "h": 306.1
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#BB96E2
secondary
#E6F0DB
accent
#C42175
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96E2

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

Preview Lab → · Contrast checker → · Palette generator →

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