#BB96F4#BB96F4

#BB96F4 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.3% C 0.137 H 301.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BB96F4
RGBrgb(187, 150, 244)
HSLhsl(264, 81%, 77%)
HSVhsv(264, 39%, 96%)
CMYKcmyk(23.4%, 38.5%, 0%, 4.3%)
CIE-LABlab(68.69, 32.39, -42.08)
CIE-LCHlch(68.69, 53.10, 307.58°)
OKLaboklab(74.3% 0.0711 -0.1171)
OKLCHoklch(74.3% 0.137 301.3)
XYZxyz(47.7254, 38.9090, 90.5663)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F4 #CFF496
analogous
#96A0F4 #BB96F4 #EA96F4
triadic
#BB96F4 #F4BB96 #96F4BB
tetradic
#BB96F4 #F496A0 #CFF496 #96F4EA
square
#BB96F4 #F496A0 #CFF496 #96F4EA
split-complementary
#BB96F4 #F4EA96 #A0F496
monochromatic
#7327E8 #975FEE #BB96F4 #DFCDFA #EDE3FC

Accessibility & contrast

On white

2.39
#BB96F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BB96F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F4#FFFFFF#000000##000000
##BB96F41.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F8
Deuteranopia (green-blind)
#86A7F1
Tritanopia (blue-blind)
#B1A5BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb96f4;
/* rgb */ color: rgb(187, 150, 244);
/* oklch */ color: oklch(74.3% 0.137 301.3);
Tailwind
colors: {
  custom: {
    50: '#d1b5f8',
    500: '#bb96f4',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f4;
$custom-light: #d1b5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f4",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 263.617,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74296,
    "c": 0.13696,
    "h": 301.3
  },
  "luminance": 0.38909
}

Semantic roles & 50–950 ramp

primary
#BB96F4
secondary
#E9F4D7
accent
#DD0889
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB96F4

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

Preview Lab → · Contrast checker → · Palette generator →

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