#BB9ECB#BB9ECB

#BB9ECB is a light, moderate violet. Relative luminance 0.393; OKLCH L 74.0% C 0.071 H 313.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BB9ECB
RGBrgb(187, 158, 203)
HSLhsl(279, 30%, 71%)
HSVhsv(279, 22%, 80%)
CMYKcmyk(7.9%, 22.2%, 0%, 20.4%)
CIE-LABlab(68.99, 18.98, -19.05)
CIE-LCHlch(68.99, 26.89, 314.89°)
OKLaboklab(74% 0.0489 -0.0516)
OKLCHoklch(74% 0.071 313.5)
XYZxyz(43.4981, 39.3308, 61.7884)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9ECB #AECB9E
analogous
#A49ECB #BB9ECB #CB9EC4
triadic
#BB9ECB #CBBB9E #9ECBBB
tetradic
#BB9ECB #CBA49E #AECB9E #9EC4CB
square
#BB9ECB #CBA49E #AECB9E #9EC4CB
split-complementary
#BB9ECB #C4CB9E #9ECBA4
monochromatic
#82539B #9F76B6 #BB9ECB #D7C6E0 #F1EBF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9ECB#FFFFFF#000000##000000
##BB9ECB1.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)
#98A7CD
Deuteranopia (green-blind)
#9EA9CA
Tritanopia (blue-blind)
#BAA3AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9ecb;
/* rgb */ color: rgb(187, 158, 203);
/* oklch */ color: oklch(74.0% 0.071 313.5);
Tailwind
colors: {
  custom: {
    50: '#cfbadb',
    500: '#bb9ecb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ecb;
$custom-light: #cfbadb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ecb",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 203
  },
  "hsl": {
    "h": 278.667,
    "s": 30.201,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74001,
    "c": 0.07113,
    "h": 313.5
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

primary
#BB9ECB
secondary
#E1E8DC
accent
#A93D63
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141115
muted
#828083

Preview Lab

Preview with #BB9ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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