#BB99EB#BB99EB

#BB99EB is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.120 H 302.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BB99EB
RGBrgb(187, 153, 235)
HSLhsl(265, 67%, 76%)
HSVhsv(265, 35%, 92%)
CMYKcmyk(20.4%, 34.9%, 0%, 7.8%)
CIE-LABlab(69.00, 28.66, -36.66)
CIE-LCHlch(69.00, 46.54, 308.02°)
OKLaboklab(74.41% 0.065 -0.1015)
OKLCHoklch(74.41% 0.121 302.6)
XYZxyz(46.8770, 39.3454, 83.7060)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99EB #C9EB99
analogous
#99A0EB #BB99EB #E499EB
triadic
#BB99EB #EBBB99 #99EBBB
tetradic
#BB99EB #EB99A0 #C9EB99 #99EBE4
square
#BB99EB #EB99A0 #C9EB99 #99EBE4
split-complementary
#BB99EB #EBE499 #A0EB99
monochromatic
#7733D7 #9966E1 #BB99EB #DDCCF5 #EEE5FA

Accessibility & contrast

On white

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

On black

8.87
#BB99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99EB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99EB#FFFFFF#000000##000000
##BB99EB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb99eb;
/* rgb */ color: rgb(187, 153, 235);
/* oklch */ color: oklch(74.4% 0.120 302.6);
Tailwind
colors: {
  custom: {
    50: '#d0b7f1',
    500: '#bb99eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb99eb;
$custom-light: #d0b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99eb",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 264.878,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7441,
    "c": 0.1205,
    "h": 302.6
  },
  "luminance": 0.39345
}

Semantic roles & 50–950 ramp

primary
#BB99EB
secondary
#E8F1DA
accent
#CF1683
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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