#BB96F8#BB96F8

#BB96F8 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.5% C 0.142 H 300.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BB96F8
RGBrgb(187, 150, 248)
HSLhsl(263, 88%, 78%)
HSVhsv(263, 40%, 97%)
CMYKcmyk(24.6%, 39.5%, 0%, 2.7%)
CIE-LABlab(68.86, 33.32, -43.99)
CIE-LCHlch(68.86, 55.18, 307.14°)
OKLaboklab(74.49% 0.0719 -0.1226)
OKLCHoklch(74.49% 0.142 300.4)
XYZxyz(48.3393, 39.1546, 93.7997)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F8 #D3F896
analogous
#96A2F8 #BB96F8 #EC96F8
triadic
#BB96F8 #F8BB96 #96F8BB
tetradic
#BB96F8 #F896A2 #D3F896 #96F8EC
square
#BB96F8 #F896A2 #D3F896 #96F8EC
split-complementary
#BB96F8 #F8EC96 #A2F896
monochromatic
#7123F0 #965DF4 #BB96F8 #E0CFFC #ECE2FD

Accessibility & contrast

On white

2.38
#BB96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#BB96F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F8
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F8#FFFFFF#000000##000000
##BB96F81.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#B0A6BB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb96f8;
/* rgb */ color: rgb(187, 150, 248);
/* oklch */ color: oklch(74.5% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#d1b5fb',
    500: '#bb96f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f8;
$custom-light: #d1b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f8",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 262.653,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7449,
    "c": 0.14209,
    "h": 300.4
  },
  "luminance": 0.39155
}

Semantic roles & 50–950 ramp

primary
#BB96F8
secondary
#E9F5D6
accent
#E4018F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB96F8

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

Preview Lab → · Contrast checker → · Palette generator →

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