#BB99EC#BB99EC

#BB99EC is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.122 H 302.4°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BB99EC
RGBrgb(187, 153, 236)
HSLhsl(265, 69%, 76%)
HSVhsv(265, 35%, 93%)
CMYKcmyk(20.8%, 35.2%, 0%, 7.5%)
CIE-LABlab(69.04, 28.89, -37.15)
CIE-LCHlch(69.04, 47.06, 307.87°)
OKLaboklab(74.46% 0.0652 -0.1029)
OKLCHoklch(74.46% 0.122 302.4)
XYZxyz(47.0219, 39.4034, 84.4690)
Luminance0.3940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99EC #CAEC99
analogous
#99A1EC #BB99EC #E599EC
triadic
#BB99EC #ECBB99 #99ECBB
tetradic
#BB99EC #EC99A1 #CAEC99 #99ECE5
square
#BB99EC #EC99A1 #CAEC99 #99ECE5
split-complementary
#BB99EC #ECE599 #A1EC99
monochromatic
#7632D9 #9965E2 #BB99EC #DDCDF6 #EEE5FA

Accessibility & contrast

On white

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

On black

8.88
#BB99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99EC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99EC#FFFFFF#000000##000000
##BB99EC1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#B3A6B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb99ec;
/* rgb */ color: rgb(187, 153, 236);
/* oklch */ color: oklch(74.5% 0.122 302.4);
Tailwind
colors: {
  custom: {
    50: '#d0b7f2',
    500: '#bb99ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb99ec;
$custom-light: #d0b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99ec",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 264.578,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74455,
    "c": 0.12179,
    "h": 302.4
  },
  "luminance": 0.39403
}

Semantic roles & 50–950 ramp

primary
#BB99EC
secondary
#E8F2D9
accent
#D11584
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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