#BB9EC7#BB9EC7

#BB9EC7 is a light, moderate purple. Relative luminance 0.391; OKLCH L 73.9% C 0.066 H 316.0°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BB9EC7
RGBrgb(187, 158, 199)
HSLhsl(282, 27%, 70%)
HSVhsv(282, 21%, 78%)
CMYKcmyk(6%, 20.6%, 0%, 22%)
CIE-LABlab(68.85, 18.17, -17.04)
CIE-LCHlch(68.85, 24.91, 316.84°)
OKLaboklab(73.85% 0.0476 -0.046)
OKLCHoklch(73.85% 0.066 316)
XYZxyz(43.0276, 39.1426, 59.3103)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EC7 #AAC79E
analogous
#A79EC7 #BB9EC7 #C79EBE
triadic
#BB9EC7 #C7BB9E #9EC7BB
tetradic
#BB9EC7 #C7A79E #AAC79E #9EBEC7
square
#BB9EC7 #C7A79E #AAC79E #9EBEC7
split-complementary
#BB9EC7 #BEC79E #9EC7A7
monochromatic
#825695 #A077B1 #BB9EC7 #D6C5DD #F1ECF4

Accessibility & contrast

On white

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

On black

8.83
#BB9EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EC7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EC7#FFFFFF#000000##000000
##BB9EC71.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A6C9
Deuteranopia (green-blind)
#9FA9C6
Tritanopia (blue-blind)
#BBA2AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9ec7;
/* rgb */ color: rgb(187, 158, 199);
/* oklch */ color: oklch(73.9% 0.066 316.0);
Tailwind
colors: {
  custom: {
    50: '#cfbad8',
    500: '#bb9ec7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ec7;
$custom-light: #cfbad8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ec7",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 199
  },
  "hsl": {
    "h": 282.439,
    "s": 26.797,
    "l": 70
  },
  "oklch": {
    "l": 0.73852,
    "c": 0.06624,
    "h": 316
  },
  "luminance": 0.39142
}

Semantic roles & 50–950 ramp

primary
#BB9EC7
secondary
#DEE6DB
accent
#A5405E
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB9EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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