#BB99EA#BB99EA

#BB99EA is a light, moderate violet. Relative luminance 0.393; OKLCH L 74.4% C 0.119 H 302.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#BB99EA
RGBrgb(187, 153, 234)
HSLhsl(265, 66%, 76%)
HSVhsv(265, 35%, 92%)
CMYKcmyk(20.1%, 34.6%, 0%, 8.2%)
CIE-LABlab(68.96, 28.43, -36.18)
CIE-LCHlch(68.96, 46.02, 308.16°)
OKLaboklab(74.36% 0.0648 -0.1001)
OKLCHoklch(74.36% 0.119 302.9)
XYZxyz(46.7329, 39.2878, 82.9473)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99EA #C8EA99
analogous
#999FEA #BB99EA #E399EA
triadic
#BB99EA #EABB99 #99EABB
tetradic
#BB99EA #EA999F #C8EA99 #99EAE3
square
#BB99EA #EA999F #C8EA99 #99EAE3
split-complementary
#BB99EA #EAE399 #9FEA99
monochromatic
#7733D5 #9966E0 #BB99EA #DDCCF4 #EEE6FA

Accessibility & contrast

On white

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

On black

8.86
#BB99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99EA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99EA#FFFFFF#000000##000000
##BB99EA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8ED
Deuteranopia (green-blind)
#8EA8E8
Tritanopia (blue-blind)
#B3A6B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb99ea;
/* rgb */ color: rgb(187, 153, 234);
/* oklch */ color: oklch(74.4% 0.119 302.9);
Tailwind
colors: {
  custom: {
    50: '#d0b7f1',
    500: '#bb99ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb99ea;
$custom-light: #d0b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99ea",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 265.185,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74364,
    "c": 0.11921,
    "h": 302.9
  },
  "luminance": 0.39288
}

Semantic roles & 50–950 ramp

primary
#BB99EA
secondary
#E7F1DA
accent
#CE1881
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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