#BB96DE#BB96DE

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

Color values

HEX#BB96DE
RGBrgb(187, 150, 222)
HSLhsl(271, 52%, 73%)
HSVhsv(271, 32%, 87%)
CMYKcmyk(15.8%, 32.4%, 0%, 12.9%)
CIE-LABlab(67.76, 27.44, -31.43)
CIE-LCHlch(67.76, 41.72, 311.12°)
OKLaboklab(73.29% 0.0662 -0.0865)
OKLCHoklch(73.29% 0.109 307.4)
XYZxyz(44.5822, 37.6518, 74.0120)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96DE #B9DE96
analogous
#9796DE #BB96DE #DE96DD
triadic
#BB96DE #DEBB96 #96DEBB
tetradic
#BB96DE #DE9796 #B9DE96 #96DDDE
square
#BB96DE #DE9796 #B9DE96 #96DDDE
split-complementary
#BB96DE #DDDE96 #96DE97
monochromatic
#7F3CBE #9D67CF #BB96DE #D9C5ED #F0E8F8

Accessibility & contrast

On white

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

On black

8.53
#BB96DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96DE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96DE#FFFFFF#000000##000000
##BB96DE1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E1
Deuteranopia (green-blind)
#90A6DC
Tritanopia (blue-blind)
#B6A0B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb96de;
/* rgb */ color: rgb(187, 150, 222);
/* oklch */ color: oklch(73.3% 0.109 307.4);
Tailwind
colors: {
  custom: {
    50: '#d0b5e8',
    500: '#bb96de',
    950: '#000000',
  },
}
SCSS
$custom: #bb96de;
$custom-light: #d0b5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96de",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 222
  },
  "hsl": {
    "h": 270.833,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.10889,
    "h": 307.4
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#BB96DE
secondary
#E5EFDC
accent
#C02671
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB96DE

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

Preview Lab → · Contrast checker → · Palette generator →

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