#BB96FE#BB96FE

#BB96FE is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.8% C 0.150 H 299.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BB96FE
RGBrgb(187, 150, 254)
HSLhsl(261, 98%, 79%)
HSVhsv(261, 41%, 100%)
CMYKcmyk(26.4%, 40.9%, 0%, 0.4%)
CIE-LABlab(69.14, 34.73, -46.83)
CIE-LCHlch(69.14, 58.30, 306.56°)
OKLaboklab(74.79% 0.073 -0.1308)
OKLCHoklch(74.79% 0.15 299.1)
XYZxyz(49.2851, 39.5329, 98.7808)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96FE #D9FE96
analogous
#96A5FE #BB96FE #EF96FE
triadic
#BB96FE #FEBB96 #96FEBB
tetradic
#BB96FE #FE96A5 #D9FE96 #96FEEF
square
#BB96FE #FE96A5 #D9FE96 #96FEEF
split-complementary
#BB96FE #FEEF96 #A5FE96
monochromatic
#6C1DFD #9459FD #BB96FE #E2D3FF #EBE1FF

Accessibility & contrast

On white

2.36
#BB96FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BB96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96FE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96FE#FFFFFF#000000##000000
##BB96FE1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#81A8FB
Tritanopia (blue-blind)
#AEA8BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb96fe;
/* rgb */ color: rgb(187, 150, 254);
/* oklch */ color: oklch(74.8% 0.150 299.1);
Tailwind
colors: {
  custom: {
    50: '#d1b5ff',
    500: '#bb96fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb96fe;
$custom-light: #d1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96fe",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 261.346,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74785,
    "c": 0.14977,
    "h": 299.1
  },
  "luminance": 0.39533
}

Semantic roles & 50–950 ramp

primary
#BB96FE
secondary
#EBF7D4
accent
#E60094
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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