#BB9EC8#BB9EC8

#BB9EC8 is a light, moderate purple. Relative luminance 0.392; OKLCH L 73.9% C 0.067 H 315.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BB9EC8
RGBrgb(187, 158, 200)
HSLhsl(281, 28%, 70%)
HSVhsv(281, 21%, 78%)
CMYKcmyk(6.5%, 21%, 0%, 21.6%)
CIE-LABlab(68.89, 18.37, -17.54)
CIE-LCHlch(68.89, 25.40, 316.32°)
OKLaboklab(73.89% 0.048 -0.0474)
OKLCHoklch(73.89% 0.067 315.3)
XYZxyz(43.1441, 39.1892, 59.9238)
Luminance0.3919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EC8 #ABC89E
analogous
#A69EC8 #BB9EC8 #C89EC0
triadic
#BB9EC8 #C8BB9E #9EC8BB
tetradic
#BB9EC8 #C8A69E #ABC89E #9EC0C8
square
#BB9EC8 #C8A69E #ABC89E #9EC0C8
split-complementary
#BB9EC8 #C0C89E #9EC8A6
monochromatic
#825596 #A077B2 #BB9EC8 #D6C5DE #F1EBF4

Accessibility & contrast

On white

2.38
#BB9EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BB9EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EC8
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EC8#FFFFFF#000000##000000
##BB9EC81.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A6CA
Deuteranopia (green-blind)
#9FA9C7
Tritanopia (blue-blind)
#BBA3AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9ec8;
/* rgb */ color: rgb(187, 158, 200);
/* oklch */ color: oklch(73.9% 0.067 315.3);
Tailwind
colors: {
  custom: {
    50: '#cfbad8',
    500: '#bb9ec8',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ec8;
$custom-light: #cfbad8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ec8",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 200
  },
  "hsl": {
    "h": 281.429,
    "s": 27.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73889,
    "c": 0.06746,
    "h": 315.3
  },
  "luminance": 0.39189
}

Semantic roles & 50–950 ramp

primary
#BB9EC8
secondary
#DFE7DB
accent
#A63F5F
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB9EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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