#BB9EC2#BB9EC2

#BB9EC2 is a light, moderate purple. Relative luminance 0.389; OKLCH L 73.7% C 0.060 H 319.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BB9EC2
RGBrgb(187, 158, 194)
HSLhsl(288, 23%, 69%)
HSVhsv(288, 19%, 76%)
CMYKcmyk(3.6%, 18.6%, 0%, 23.9%)
CIE-LABlab(68.69, 17.17, -14.51)
CIE-LCHlch(68.69, 22.49, 319.80°)
OKLaboklab(73.67% 0.046 -0.039)
OKLCHoklch(73.67% 0.06 319.7)
XYZxyz(42.4566, 38.9142, 56.3031)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EC2 #A5C29E
analogous
#A99EC2 #BB9EC2 #C29EB7
triadic
#BB9EC2 #C2BB9E #9EC2BB
tetradic
#BB9EC2 #C2A99E #A5C29E #9EB7C2
square
#BB9EC2 #C2A99E #A5C29E #9EB7C2
split-complementary
#BB9EC2 #B7C29E #9EC2A9
monochromatic
#83598D #A178AA #BB9EC2 #D5C4DA #F0E9F1

Accessibility & contrast

On white

2.39
#BB9EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BB9EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EC2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EC2#FFFFFF#000000##000000
##BB9EC21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA6C4
Deuteranopia (green-blind)
#A0A9C1
Tritanopia (blue-blind)
#BCA2AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9ec2;
/* rgb */ color: rgb(187, 158, 194);
/* oklch */ color: oklch(73.7% 0.060 319.7);
Tailwind
colors: {
  custom: {
    50: '#cfbad4',
    500: '#bb9ec2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ec2;
$custom-light: #cfbad4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ec2",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 194
  },
  "hsl": {
    "h": 288.333,
    "s": 22.785,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73669,
    "c": 0.06033,
    "h": 319.7
  },
  "luminance": 0.38914
}

Semantic roles & 50–950 ramp

primary
#BB9EC2
secondary
#DBE3D9
accent
#A14456
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB9EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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