#BB96DF#BB96DF

#BB96DF is a light, moderate violet. Relative luminance 0.377; OKLCH L 73.3% C 0.110 H 307.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#BB96DF
RGBrgb(187, 150, 223)
HSLhsl(270, 53%, 73%)
HSVhsv(270, 33%, 87%)
CMYKcmyk(16.1%, 32.7%, 0%, 12.5%)
CIE-LABlab(67.80, 27.66, -31.92)
CIE-LCHlch(67.80, 42.24, 310.91°)
OKLaboklab(73.34% 0.0664 -0.0879)
OKLCHoklch(73.34% 0.11 307.1)
XYZxyz(44.7166, 37.7055, 74.7199)
Luminance0.3770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96DF #BADF96
analogous
#9696DF #BB96DF #DF96DE
triadic
#BB96DF #DFBB96 #96DFBB
tetradic
#BB96DF #DF9696 #BADF96 #96DEDF
square
#BB96DF #DF9696 #BADF96 #96DEDF
split-complementary
#BB96DF #DEDF96 #96DF96
monochromatic
#7E3BC0 #9D67D1 #BB96DF #D9C5ED #F0E8F8

Accessibility & contrast

On white

2.46
#BB96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#BB96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96DF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96DF#FFFFFF#000000##000000
##BB96DF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E2
Deuteranopia (green-blind)
#90A6DD
Tritanopia (blue-blind)
#B6A0B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb96df;
/* rgb */ color: rgb(187, 150, 223);
/* oklch */ color: oklch(73.3% 0.110 307.1);
Tailwind
colors: {
  custom: {
    50: '#d0b5e9',
    500: '#bb96df',
    950: '#000000',
  },
}
SCSS
$custom: #bb96df;
$custom-light: #d0b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96df",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 270.411,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73336,
    "c": 0.11015,
    "h": 307.1
  },
  "luminance": 0.37705
}

Semantic roles & 50–950 ramp

primary
#BB96DF
secondary
#E5EFDC
accent
#C12572
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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