#BB96EC#BB96EC

#BB96EC is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.127 H 303.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#BB96EC
RGBrgb(187, 150, 236)
HSLhsl(266, 69%, 76%)
HSVhsv(266, 36%, 93%)
CMYKcmyk(20.8%, 36.4%, 0%, 7.5%)
CIE-LABlab(68.34, 30.55, -38.24)
CIE-LCHlch(68.34, 48.95, 308.62°)
OKLaboklab(73.92% 0.0694 -0.106)
OKLCHoklch(73.92% 0.127 303.2)
XYZxyz(46.5370, 38.4337, 84.3074)
Luminance0.3843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96EC #C7EC96
analogous
#969CEC #BB96EC #E696EC
triadic
#BB96EC #ECBB96 #96ECBB
tetradic
#BB96EC #EC969C #C7EC96 #96ECE6
square
#BB96EC #EC969C #C7EC96 #96ECE6
split-complementary
#BB96EC #ECE696 #9CEC96
monochromatic
#782ED9 #9962E3 #BB96EC #DDCAF5 #EEE5FA

Accessibility & contrast

On white

2.42
#BB96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#BB96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96EC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96EC#FFFFFF#000000##000000
##BB96EC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#B3A3B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb96ec;
/* rgb */ color: rgb(187, 150, 236);
/* oklch */ color: oklch(73.9% 0.127 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1b5f2',
    500: '#bb96ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb96ec;
$custom-light: #d1b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96ec",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 265.814,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7392,
    "c": 0.12672,
    "h": 303.2
  },
  "luminance": 0.38434
}

Semantic roles & 50–950 ramp

primary
#BB96EC
secondary
#E7F2D9
accent
#D11480
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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