#BB96F3#BB96F3

#BB96F3 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.2% C 0.136 H 301.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BB96F3
RGBrgb(187, 150, 243)
HSLhsl(264, 79%, 77%)
HSVhsv(264, 38%, 95%)
CMYKcmyk(23%, 38.3%, 0%, 4.7%)
CIE-LABlab(68.64, 32.16, -41.60)
CIE-LCHlch(68.64, 52.58, 307.70°)
OKLaboklab(74.25% 0.0709 -0.1157)
OKLCHoklch(74.25% 0.136 301.5)
XYZxyz(47.5740, 38.8485, 89.7688)
Luminance0.3885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F3 #CEF396
analogous
#96A0F3 #BB96F3 #EA96F3
triadic
#BB96F3 #F3BB96 #96F3BB
tetradic
#BB96F3 #F396A0 #CEF396 #96F3EA
square
#BB96F3 #F396A0 #CEF396 #96F3EA
split-complementary
#BB96F3 #F3EA96 #A0F396
monochromatic
#7428E6 #975FED #BB96F3 #DFCDF9 #EDE4FC

Accessibility & contrast

On white

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

On black

8.77
#BB96F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F3#FFFFFF#000000##000000
##BB96F31.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F7
Deuteranopia (green-blind)
#87A7F1
Tritanopia (blue-blind)
#B1A5B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb96f3;
/* rgb */ color: rgb(187, 150, 243);
/* oklch */ color: oklch(74.2% 0.136 301.5);
Tailwind
colors: {
  custom: {
    50: '#d1b5f7',
    500: '#bb96f3',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f3;
$custom-light: #d1b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f3",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 263.871,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74249,
    "c": 0.13568,
    "h": 301.5
  },
  "luminance": 0.38849
}

Semantic roles & 50–950 ramp

primary
#BB96F3
secondary
#E8F4D7
accent
#DC0A88
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB96F3

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

Preview Lab → · Contrast checker → · Palette generator →

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