#BB8ECD#BB8ECD

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

Color values

HEX#BB8ECD
RGBrgb(187, 142, 205)
HSLhsl(283, 39%, 68%)
HSVhsv(283, 31%, 80%)
CMYKcmyk(8.8%, 30.7%, 0%, 19.6%)
CIE-LABlab(65.22, 28.29, -25.92)
CIE-LCHlch(65.22, 38.37, 317.50°)
OKLaboklab(71.13% 0.0735 -0.0708)
OKLCHoklch(71.13% 0.102 316.1)
XYZxyz(41.1843, 34.3194, 62.2005)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8ECD #A0CD8E
analogous
#9B8ECD #BB8ECD #CD8EBF
triadic
#BB8ECD #CDBB8E #8ECDBB
tetradic
#BB8ECD #CD9B8E #A0CD8E #8EBFCD
square
#BB8ECD #CD9B8E #A0CD8E #8EBFCD
split-complementary
#BB8ECD #BFCD8E #8ECD9B
monochromatic
#83459C #A164BA #BB8ECD #D5B8E0 #EEE3F3

Accessibility & contrast

On white

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

On black

7.86
#BB8ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8ECD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8ECD#FFFFFF#000000##000000
##BB8ECD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CCF
Deuteranopia (green-blind)
#8FA0CB
Tritanopia (blue-blind)
#BB96A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8ecd;
/* rgb */ color: rgb(187, 142, 205);
/* oklch */ color: oklch(71.1% 0.102 316.1);
Tailwind
colors: {
  custom: {
    50: '#d0afdc',
    500: '#bb8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ecd;
$custom-light: #d0afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ecd",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 282.857,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.10207,
    "h": 316.1
  },
  "luminance": 0.34319
}

Semantic roles & 50–950 ramp

primary
#BB8ECD
secondary
#D7E5D2
accent
#B23458
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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