#BB96F7#BB96F7

#BB96F7 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.4% C 0.141 H 300.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#BB96F7
RGBrgb(187, 150, 247)
HSLhsl(263, 86%, 78%)
HSVhsv(263, 39%, 97%)
CMYKcmyk(24.3%, 39.3%, 0%, 3.1%)
CIE-LABlab(68.82, 33.09, -43.51)
CIE-LCHlch(68.82, 54.66, 307.25°)
OKLaboklab(74.44% 0.0717 -0.1212)
OKLCHoklch(74.44% 0.141 300.6)
XYZxyz(48.1846, 39.0927, 92.9848)
Luminance0.3909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F7 #D2F796
analogous
#96A1F7 #BB96F7 #EC96F7
triadic
#BB96F7 #F7BB96 #96F7BB
tetradic
#BB96F7 #F796A1 #D2F796 #96F7EC
square
#BB96F7 #F796A1 #D2F796 #96F7EC
split-complementary
#BB96F7 #F7EC96 #A1F796
monochromatic
#7124EE #965DF3 #BB96F7 #E0CFFB #EDE3FD

Accessibility & contrast

On white

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

On black

8.82
#BB96F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F7
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F7#FFFFFF#000000##000000
##BB96F71.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#85A7F4
Tritanopia (blue-blind)
#B0A6BB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb96f7;
/* rgb */ color: rgb(187, 150, 247);
/* oklch */ color: oklch(74.4% 0.141 300.6);
Tailwind
colors: {
  custom: {
    50: '#d1b5fa',
    500: '#bb96f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f7;
$custom-light: #d1b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f7",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 262.887,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.1408,
    "h": 300.6
  },
  "luminance": 0.39093
}

Semantic roles & 50–950 ramp

primary
#BB96F7
secondary
#E9F5D6
accent
#E2038D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB96F7

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

Preview Lab → · Contrast checker → · Palette generator →

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