#BB9ECC#BB9ECC

#BB9ECC is a light, moderate violet. Relative luminance 0.394; OKLCH L 74.0% C 0.072 H 312.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BB9ECC
RGBrgb(187, 158, 204)
HSLhsl(278, 31%, 71%)
HSVhsv(278, 23%, 80%)
CMYKcmyk(8.3%, 22.5%, 0%, 20%)
CIE-LABlab(69.02, 19.18, -19.55)
CIE-LCHlch(69.02, 27.39, 314.46°)
OKLaboklab(74.04% 0.0492 -0.053)
OKLCHoklch(74.04% 0.072 312.9)
XYZxyz(43.6177, 39.3786, 62.4181)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9ECC #AFCC9E
analogous
#A49ECC #BB9ECC #CC9EC6
triadic
#BB9ECC #CCBB9E #9ECCBB
tetradic
#BB9ECC #CCA49E #AFCC9E #9EC6CC
square
#BB9ECC #CCA49E #AFCC9E #9EC6CC
split-complementary
#BB9ECC #C6CC9E #9ECCA4
monochromatic
#82539D #9F76B7 #BB9ECC #D7C6E1 #F1EBF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9ECC#FFFFFF#000000##000000
##BB9ECC1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CE
Deuteranopia (green-blind)
#9DA9CA
Tritanopia (blue-blind)
#BAA3AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9ecc;
/* rgb */ color: rgb(187, 158, 204);
/* oklch */ color: oklch(74.0% 0.072 312.9);
Tailwind
colors: {
  custom: {
    50: '#cfbadb',
    500: '#bb9ecc',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ecc;
$custom-light: #cfbadb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ecc",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 204
  },
  "hsl": {
    "h": 277.826,
    "s": 31.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74039,
    "c": 0.07236,
    "h": 312.9
  },
  "luminance": 0.39378
}

Semantic roles & 50–950 ramp

primary
#BB9ECC
secondary
#E1E9DD
accent
#AA3C64
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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