#BB8EC8#BB8EC8

#BB8EC8 is a light, moderate purple. Relative luminance 0.341; OKLCH L 70.9% C 0.096 H 318.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BB8EC8
RGBrgb(187, 142, 200)
HSLhsl(287, 35%, 67%)
HSVhsv(287, 29%, 78%)
CMYKcmyk(6.5%, 29%, 0%, 21.6%)
CIE-LABlab(65.03, 27.27, -23.42)
CIE-LCHlch(65.03, 35.95, 319.35°)
OKLaboklab(70.93% 0.0721 -0.0637)
OKLCHoklch(70.93% 0.096 318.5)
XYZxyz(40.5904, 34.0818, 59.0726)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EC8 #9BC88E
analogous
#9E8EC8 #BB8EC8 #C88EB8
triadic
#BB8EC8 #C8BB8E #8EC8BB
tetradic
#BB8EC8 #C89E8E #9BC88E #8EB8C8
square
#BB8EC8 #C89E8E #9BC88E #8EB8C8
split-complementary
#BB8EC8 #B8C88E #8EC89E
monochromatic
#834894 #A265B4 #BB8EC8 #D4B7DC #EDE0F0

Accessibility & contrast

On white

2.69
#BB8EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BB8EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EC8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EC8#FFFFFF#000000##000000
##BB8EC81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BCA
Deuteranopia (green-blind)
#919FC6
Tritanopia (blue-blind)
#BB94A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8ec8;
/* rgb */ color: rgb(187, 142, 200);
/* oklch */ color: oklch(70.9% 0.096 318.5);
Tailwind
colors: {
  custom: {
    50: '#d0afd8',
    500: '#bb8ec8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ec8;
$custom-light: #d0afd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ec8",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 200
  },
  "hsl": {
    "h": 286.552,
    "s": 34.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70925,
    "c": 0.09626,
    "h": 318.5
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

primary
#BB8EC8
secondary
#D4E2D0
accent
#AD3852
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BB8EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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