#BB8ECA#BB8ECA

#BB8ECA is a light, moderate purple. Relative luminance 0.342; OKLCH L 71.0% C 0.099 H 317.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BB8ECA
RGBrgb(187, 142, 202)
HSLhsl(285, 36%, 67%)
HSVhsv(285, 30%, 79%)
CMYKcmyk(7.4%, 29.7%, 0%, 20.8%)
CIE-LABlab(65.10, 27.68, -24.42)
CIE-LCHlch(65.10, 36.91, 318.58°)
OKLaboklab(71.01% 0.0727 -0.0666)
OKLCHoklch(71.01% 0.099 317.5)
XYZxyz(40.8257, 34.1759, 60.3116)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8ECA #9DCA8E
analogous
#9D8ECA #BB8ECA #CA8EBB
triadic
#BB8ECA #CABB8E #8ECABB
tetradic
#BB8ECA #CA9D8E #9DCA8E #8EBBCA
square
#BB8ECA #CA9D8E #9DCA8E #8EBBCA
split-complementary
#BB8ECA #BBCA8E #8ECA9D
monochromatic
#834797 #A264B6 #BB8ECA #D4B8DE #EDE1F1

Accessibility & contrast

On white

2.68
#BB8ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BB8ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8ECA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8ECA#FFFFFF#000000##000000
##BB8ECA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#BB95A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8eca;
/* rgb */ color: rgb(187, 142, 202);
/* oklch */ color: oklch(71.0% 0.099 317.5);
Tailwind
colors: {
  custom: {
    50: '#d0afda',
    500: '#bb8eca',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eca;
$custom-light: #d0afda;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eca",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 285,
    "s": 36.145,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71007,
    "c": 0.09857,
    "h": 317.5
  },
  "luminance": 0.34175
}

Semantic roles & 50–950 ramp

primary
#BB8ECA
secondary
#D5E3D1
accent
#AF3655
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BB8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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