#BB99E2#BB99E2

#BB99E2 is a light, moderate violet. Relative luminance 0.388; OKLCH L 74.0% C 0.109 H 305.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BB99E2
RGBrgb(187, 153, 226)
HSLhsl(268, 56%, 74%)
HSVhsv(268, 32%, 89%)
CMYKcmyk(17.3%, 32.3%, 0%, 11.4%)
CIE-LABlab(68.63, 26.65, -32.29)
CIE-LCHlch(68.63, 41.86, 309.53°)
OKLaboklab(74.01% 0.0628 -0.089)
OKLCHoklch(74.01% 0.109 305.2)
XYZxyz(45.6095, 38.8384, 77.0305)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99E2 #C0E299
analogous
#999CE2 #BB99E2 #DF99E2
triadic
#BB99E2 #E2BB99 #99E2BB
tetradic
#BB99E2 #E2999C #C0E299 #99E2DF
square
#BB99E2 #E2999C #C0E299 #99E2DF
split-complementary
#BB99E2 #E2DF99 #9CE299
monochromatic
#7B3AC7 #9B69D4 #BB99E2 #DBC9F0 #EFE7F8

Accessibility & contrast

On white

2.40
#BB99E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#BB99E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99E2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99E2#FFFFFF#000000##000000
##BB99E21.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#91A8E0
Tritanopia (blue-blind)
#B5A4B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb99e2;
/* rgb */ color: rgb(187, 153, 226);
/* oklch */ color: oklch(74.0% 0.109 305.2);
Tailwind
colors: {
  custom: {
    50: '#d0b7eb',
    500: '#bb99e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb99e2;
$custom-light: #d0b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99e2",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 226
  },
  "hsl": {
    "h": 267.945,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.10891,
    "h": 305.2
  },
  "luminance": 0.38838
}

Semantic roles & 50–950 ramp

primary
#BB99E2
secondary
#E6EFDC
accent
#C32278
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB99E2

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

Preview Lab → · Contrast checker → · Palette generator →

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