#BB8ECC#BB8ECC

#BB8ECC is a light, moderate purple. Relative luminance 0.343; OKLCH L 71.1% C 0.101 H 316.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BB8ECC
RGBrgb(187, 142, 204)
HSLhsl(284, 38%, 68%)
HSVhsv(284, 30%, 80%)
CMYKcmyk(8.3%, 30.4%, 0%, 20%)
CIE-LABlab(65.18, 28.09, -25.42)
CIE-LCHlch(65.18, 37.88, 317.85°)
OKLaboklab(71.09% 0.0732 -0.0694)
OKLCHoklch(71.09% 0.101 316.5)
XYZxyz(41.0640, 34.2713, 61.5668)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8ECC #9FCC8E
analogous
#9C8ECC #BB8ECC #CC8EBE
triadic
#BB8ECC #CCBB8E #8ECCBB
tetradic
#BB8ECC #CC9C8E #9FCC8E #8EBECC
square
#BB8ECC #CC9C8E #9FCC8E #8EBECC
split-complementary
#BB8ECC #BECC8E #8ECC9C
monochromatic
#83469A #A264B9 #BB8ECC #D4B8DF #EEE2F2

Accessibility & contrast

On white

2.67
#BB8ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#BB8ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8ECC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8ECC#FFFFFF#000000##000000
##BB8ECC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCE
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#BB95A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8ecc;
/* rgb */ color: rgb(187, 142, 204);
/* oklch */ color: oklch(71.1% 0.101 316.5);
Tailwind
colors: {
  custom: {
    50: '#d0afdb',
    500: '#bb8ecc',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ecc;
$custom-light: #d0afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ecc",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 283.548,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71089,
    "c": 0.10089,
    "h": 316.5
  },
  "luminance": 0.3427
}

Semantic roles & 50–950 ramp

primary
#BB8ECC
secondary
#D7E4D1
accent
#B13557
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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