#BB9ECA#BB9ECA

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

Color values

HEX#BB9ECA
RGBrgb(187, 158, 202)
HSLhsl(280, 29%, 71%)
HSVhsv(280, 22%, 79%)
CMYKcmyk(7.4%, 21.8%, 0%, 20.8%)
CIE-LABlab(68.96, 18.77, -18.55)
CIE-LCHlch(68.96, 26.39, 315.35°)
OKLaboklab(73.96% 0.0486 -0.0502)
OKLCHoklch(73.96% 0.07 314.1)
XYZxyz(43.3793, 39.2833, 61.1629)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9ECA #ADCA9E
analogous
#A59ECA #BB9ECA #CA9EC3
triadic
#BB9ECA #CABB9E #9ECABB
tetradic
#BB9ECA #CAA59E #ADCA9E #9EC3CA
square
#BB9ECA #CAA59E #ADCA9E #9EC3CA
split-complementary
#BB9ECA #C3CA9E #9ECAA5
monochromatic
#82549A #9F76B4 #BB9ECA #D7C6E0 #F1EBF4

Accessibility & contrast

On white

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

On black

8.86
#BB9ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9ECA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9ECA#FFFFFF#000000##000000
##BB9ECA1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CC
Deuteranopia (green-blind)
#9EA9C9
Tritanopia (blue-blind)
#BAA3AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9eca;
/* rgb */ color: rgb(187, 158, 202);
/* oklch */ color: oklch(74.0% 0.070 314.1);
Tailwind
colors: {
  custom: {
    50: '#cfbada',
    500: '#bb9eca',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eca;
$custom-light: #cfbada;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eca",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 202
  },
  "hsl": {
    "h": 279.545,
    "s": 29.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.06989,
    "h": 314.1
  },
  "luminance": 0.39283
}

Semantic roles & 50–950 ramp

primary
#BB9ECA
secondary
#E0E8DC
accent
#A83E62
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB9ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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