#BB96FD#BB96FD

#BB96FD is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.148 H 299.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BB96FD
RGBrgb(187, 150, 253)
HSLhsl(262, 96%, 79%)
HSVhsv(262, 41%, 99%)
CMYKcmyk(26.1%, 40.7%, 0%, 0.8%)
CIE-LABlab(69.09, 34.49, -46.36)
CIE-LCHlch(69.09, 57.78, 306.65°)
OKLaboklab(74.74% 0.0728 -0.1294)
OKLCHoklch(74.74% 0.148 299.3)
XYZxyz(49.1254, 39.4690, 97.9396)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96FD #D8FD96
analogous
#96A5FD #BB96FD #EE96FD
triadic
#BB96FD #FDBB96 #96FDBB
tetradic
#BB96FD #FD96A5 #D8FD96 #96FDEE
square
#BB96FD #FD96A5 #D8FD96 #96FDEE
split-complementary
#BB96FD #FDEE96 #A5FD96
monochromatic
#6D1EFB #945AFC #BB96FD #E2D2FE #ECE1FE

Accessibility & contrast

On white

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

On black

8.89
#BB96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96FD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96FD#FFFFFF#000000##000000
##BB96FD1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb96fd;
/* rgb */ color: rgb(187, 150, 253);
/* oklch */ color: oklch(74.7% 0.148 299.3);
Tailwind
colors: {
  custom: {
    50: '#d1b5fe',
    500: '#bb96fd',
    950: '#000000',
  },
}
SCSS
$custom: #bb96fd;
$custom-light: #d1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96fd",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 261.553,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74735,
    "c": 0.14849,
    "h": 299.3
  },
  "luminance": 0.39469
}

Semantic roles & 50–950 ramp

primary
#BB96FD
secondary
#EAF7D4
accent
#E60093
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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