#BB96CF#BB96CF

#BB96CF is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.7% C 0.090 H 313.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BB96CF
RGBrgb(187, 150, 207)
HSLhsl(279, 37%, 70%)
HSVhsv(279, 28%, 81%)
CMYKcmyk(9.7%, 27.5%, 0%, 18.8%)
CIE-LABlab(67.19, 24.25, -24.01)
CIE-LCHlch(67.19, 34.12, 315.29°)
OKLaboklab(72.66% 0.0621 -0.0655)
OKLCHoklch(72.66% 0.09 313.5)
XYZxyz(42.6605, 36.8831, 63.8912)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB96CF #AACF96
analogous
#9E96CF #BB96CF #CF96C7
triadic
#BB96CF #CFBB96 #96CFBB
tetradic
#BB96CF #CF9E96 #AACF96 #96C7CF
square
#BB96CF #CF9E96 #AACF96 #96C7CF
split-complementary
#BB96CF #C7CF96 #96CF9E
monochromatic
#824AA1 #A06CBC #BB96CF #D6C0E2 #F1EAF5

Accessibility & contrast

On white

2.51
#BB96CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BB96CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB96CF
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB96CF#FFFFFF#000000##000000
##BB96CF1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1D1
Deuteranopia (green-blind)
#96A5CD
Tritanopia (blue-blind)
#BA9DAA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb96cf;
/* rgb */ color: rgb(187, 150, 207);
/* oklch */ color: oklch(72.7% 0.090 313.5);
Tailwind
colors: {
  custom: {
    50: '#d0b5dd',
    500: '#bb96cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb96cf;
$custom-light: #d0b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb96cf",
  "rgb": {
    "r": 187,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 278.947,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.72664,
    "c": 0.09023,
    "h": 313.5
  },
  "luminance": 0.36882
}

Semantic roles & 50–950 ramp

primary
#BB96CF
secondary
#DEE8D8
accent
#B03560
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB96CF

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

Preview Lab → · Contrast checker → · Palette generator →

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