#BB96E6#BB96E6

#BB96E6 is a light, moderate violet. Relative luminance 0.381; OKLCH L 73.6% C 0.119 H 304.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#BB96E6
RGBrgb(187, 150, 230)
HSLhsl(268, 62%, 75%)
HSVhsv(268, 35%, 90%)
CMYKcmyk(18.7%, 34.8%, 0%, 9.8%)
CIE-LABlab(68.09, 29.20, -35.34)
CIE-LCHlch(68.09, 45.84, 309.57°)
OKLaboklab(73.65% 0.0681 -0.0977)
OKLCHoklch(73.65% 0.119 304.9)
XYZxyz(45.6799, 38.0908, 79.7933)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96E6 #C1E696
analogous
#9699E6 #BB96E6 #E396E6
triadic
#BB96E6 #E6BB96 #96E6BB
tetradic
#BB96E6 #E69699 #C1E696 #96E6E3
square
#BB96E6 #E69699 #C1E696 #96E6E3
split-complementary
#BB96E6 #E6E396 #99E696
monochromatic
#7B33CE #9B65DA #BB96E6 #DBC7F2 #EFE6F9

Accessibility & contrast

On white

2.44
#BB96E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#BB96E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96E6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96E6#FFFFFF#000000##000000
##BB96E61.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A5E9
Deuteranopia (green-blind)
#8DA6E4
Tritanopia (blue-blind)
#B4A2B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb96e6;
/* rgb */ color: rgb(187, 150, 230);
/* oklch */ color: oklch(73.6% 0.119 304.9);
Tailwind
colors: {
  custom: {
    50: '#d0b5ee',
    500: '#bb96e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb96e6;
$custom-light: #d0b5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96e6",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 230
  },
  "hsl": {
    "h": 267.75,
    "s": 61.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73646,
    "c": 0.11905,
    "h": 304.9
  },
  "luminance": 0.38091
}

Semantic roles & 50–950 ramp

primary
#BB96E6
secondary
#E6F0DB
accent
#C91C79
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96E6

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

Preview Lab → · Contrast checker → · Palette generator →

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