#BB99EE#BB99EE

#BB99EE is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.5% C 0.124 H 301.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BB99EE
RGBrgb(187, 153, 238)
HSLhsl(264, 71%, 77%)
HSVhsv(264, 36%, 93%)
CMYKcmyk(21.4%, 35.7%, 0%, 6.7%)
CIE-LABlab(69.13, 29.34, -38.11)
CIE-LCHlch(69.13, 48.10, 307.59°)
OKLaboklab(74.55% 0.0657 -0.1056)
OKLCHoklch(74.55% 0.124 301.9)
XYZxyz(47.3141, 39.5203, 86.0079)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99EE #CCEE99
analogous
#99A2EE #BB99EE #E699EE
triadic
#BB99EE #EEBB99 #99EEBB
tetradic
#BB99EE #EE99A2 #CCEE99 #99EEE6
square
#BB99EE #EE99A2 #CCEE99 #99EEE6
split-complementary
#BB99EE #EEE699 #A2EE99
monochromatic
#7530DD #9865E5 #BB99EE #DECDF7 #EEE5FB

Accessibility & contrast

On white

2.36
#BB99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BB99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99EE
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99EE#FFFFFF#000000##000000
##BB99EE1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F1
Deuteranopia (green-blind)
#8CA8EC
Tritanopia (blue-blind)
#B2A6B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb99ee;
/* rgb */ color: rgb(187, 153, 238);
/* oklch */ color: oklch(74.5% 0.124 301.9);
Tailwind
colors: {
  custom: {
    50: '#d1b7f4',
    500: '#bb99ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb99ee;
$custom-light: #d1b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99ee",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74547,
    "c": 0.12437,
    "h": 301.9
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#BB99EE
secondary
#E8F2D9
accent
#D31286
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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