#BB99E9#BB99E9

#BB99E9 is a light, moderate violet. Relative luminance 0.392; OKLCH L 74.3% C 0.118 H 303.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BB99E9
RGBrgb(187, 153, 233)
HSLhsl(266, 65%, 76%)
HSVhsv(266, 34%, 91%)
CMYKcmyk(19.7%, 34.3%, 0%, 8.6%)
CIE-LABlab(68.92, 28.21, -35.69)
CIE-LCHlch(68.92, 45.50, 308.32°)
OKLaboklab(74.32% 0.0645 -0.0987)
OKLCHoklch(74.32% 0.118 303.2)
XYZxyz(46.5897, 39.2305, 82.1928)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99E9 #C7E999
analogous
#999FE9 #BB99E9 #E399E9
triadic
#BB99E9 #E9BB99 #99E9BB
tetradic
#BB99E9 #E9999F #C7E999 #99E9E3
square
#BB99E9 #E9999F #C7E999 #99E9E3
split-complementary
#BB99E9 #E9E399 #9FE999
monochromatic
#7834D3 #9967DE #BB99E9 #DDCBF4 #EEE6FA

Accessibility & contrast

On white

2.37
#BB99E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BB99E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99E9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99E9#FFFFFF#000000##000000
##BB99E91.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A7EC
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#B4A5B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb99e9;
/* rgb */ color: rgb(187, 153, 233);
/* oklch */ color: oklch(74.3% 0.118 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0b7f0',
    500: '#bb99e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb99e9;
$custom-light: #d0b7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99e9",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 233
  },
  "hsl": {
    "h": 265.5,
    "s": 64.516,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.11792,
    "h": 303.2
  },
  "luminance": 0.3923
}

Semantic roles & 50–950 ramp

primary
#BB99E9
secondary
#E7F1DA
accent
#CC1980
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB99E9

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

Preview Lab → · Contrast checker → · Palette generator →

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