#BB96ED#BB96ED

#BB96ED is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.0% C 0.128 H 303.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BB96ED
RGBrgb(187, 150, 237)
HSLhsl(266, 71%, 76%)
HSVhsv(266, 37%, 93%)
CMYKcmyk(21.1%, 36.7%, 0%, 7.1%)
CIE-LABlab(68.38, 30.78, -38.72)
CIE-LCHlch(68.38, 49.47, 308.48°)
OKLaboklab(73.97% 0.0697 -0.1074)
OKLCHoklch(73.97% 0.128 303)
XYZxyz(46.6827, 38.4920, 85.0747)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96ED #C8ED96
analogous
#969CED #BB96ED #E696ED
triadic
#BB96ED #EDBB96 #96EDBB
tetradic
#BB96ED #ED969C #C8ED96 #96EDE6
square
#BB96ED #ED969C #C8ED96 #96EDE6
split-complementary
#BB96ED #EDE696 #9CED96
monochromatic
#772EDB #9962E4 #BB96ED #DDCAF6 #EEE5FB

Accessibility & contrast

On white

2.41
#BB96ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BB96ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96ED
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96ED#FFFFFF#000000##000000
##BB96ED1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F0
Deuteranopia (green-blind)
#89A7EB
Tritanopia (blue-blind)
#B3A4B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb96ed;
/* rgb */ color: rgb(187, 150, 237);
/* oklch */ color: oklch(74.0% 0.128 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1b5f3',
    500: '#bb96ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb96ed;
$custom-light: #d1b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96ed",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 265.517,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73966,
    "c": 0.12799,
    "h": 303
  },
  "luminance": 0.38492
}

Semantic roles & 50–950 ramp

primary
#BB96ED
secondary
#E7F2D9
accent
#D31381
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB96ED

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

Preview Lab → · Contrast checker → · Palette generator →

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