#BB96F2#BB96F2

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

Color values

HEX#BB96F2
RGBrgb(187, 150, 242)
HSLhsl(264, 78%, 77%)
HSVhsv(264, 38%, 95%)
CMYKcmyk(22.7%, 38%, 0%, 5.1%)
CIE-LABlab(68.60, 31.93, -41.12)
CIE-LCHlch(68.60, 52.06, 307.82°)
OKLaboklab(74.2% 0.0707 -0.1143)
OKLCHoklch(74.2% 0.134 301.7)
XYZxyz(47.4234, 38.7882, 88.9757)
Luminance0.3879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96F2 #CDF296
analogous
#969FF2 #BB96F2 #E996F2
triadic
#BB96F2 #F2BB96 #96F2BB
tetradic
#BB96F2 #F2969F #CDF296 #96F2E9
square
#BB96F2 #F2969F #CDF296 #96F2E9
split-complementary
#BB96F2 #F2E996 #9FF296
monochromatic
#7429E5 #9860EB #BB96F2 #DECCF9 #EDE4FC

Accessibility & contrast

On white

2.40
#BB96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BB96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96F2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96F2#FFFFFF#000000##000000
##BB96F21.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#87A7F0
Tritanopia (blue-blind)
#B1A5B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb96f2;
/* rgb */ color: rgb(187, 150, 242);
/* oklch */ color: oklch(74.2% 0.134 301.7);
Tailwind
colors: {
  custom: {
    50: '#d1b5f6',
    500: '#bb96f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb96f2;
$custom-light: #d1b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96f2",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 264.13,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74201,
    "c": 0.1344,
    "h": 301.7
  },
  "luminance": 0.38788
}

Semantic roles & 50–950 ramp

primary
#BB96F2
secondary
#E8F3D8
accent
#DA0B87
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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