#BB96F5#BB96F5

#BB96F5 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.3% C 0.138 H 301.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BB96F5
RGBrgb(187, 150, 245)
HSLhsl(263, 83%, 77%)
HSVhsv(263, 39%, 96%)
CMYKcmyk(23.7%, 38.8%, 0%, 3.9%)
CIE-LABlab(68.73, 32.62, -42.56)
CIE-LCHlch(68.73, 53.62, 307.47°)
OKLaboklab(74.34% 0.0713 -0.1184)
OKLCHoklch(74.34% 0.138 301)
XYZxyz(47.8777, 38.9699, 91.3681)
Luminance0.3897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F5 #D0F596
analogous
#96A1F5 #BB96F5 #EA96F5
triadic
#BB96F5 #F5BB96 #96F5BB
tetradic
#BB96F5 #F596A1 #D0F596 #96F5EA
square
#BB96F5 #F596A1 #D0F596 #96F5EA
split-complementary
#BB96F5 #F5EA96 #A1F596
monochromatic
#7326EA #975EF0 #BB96F5 #DFCEFA #EDE3FC

Accessibility & contrast

On white

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

On black

8.79
#BB96F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F5#FFFFFF#000000##000000
##BB96F51.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7F9
Deuteranopia (green-blind)
#86A7F2
Tritanopia (blue-blind)
#B1A6BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb96f5;
/* rgb */ color: rgb(187, 150, 245);
/* oklch */ color: oklch(74.3% 0.138 301.0);
Tailwind
colors: {
  custom: {
    50: '#d1b5f9',
    500: '#bb96f5',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f5;
$custom-light: #d1b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f5",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 245
  },
  "hsl": {
    "h": 263.368,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74344,
    "c": 0.13824,
    "h": 301
  },
  "luminance": 0.3897
}

Semantic roles & 50–950 ramp

primary
#BB96F5
secondary
#E9F4D7
accent
#DF068B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB96F5

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

Preview Lab → · Contrast checker → · Palette generator →

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