#BB8EC7#BB8EC7

#BB8EC7 is a light, moderate purple. Relative luminance 0.340; OKLCH L 70.9% C 0.095 H 319.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BB8EC7
RGBrgb(187, 142, 199)
HSLhsl(287, 34%, 67%)
HSVhsv(287, 29%, 78%)
CMYKcmyk(6%, 28.6%, 0%, 22%)
CIE-LABlab(64.99, 27.07, -22.91)
CIE-LCHlch(64.99, 35.47, 319.75°)
OKLaboklab(70.88% 0.0719 -0.0623)
OKLCHoklch(70.88% 0.095 319.1)
XYZxyz(40.4739, 34.0352, 58.4591)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EC7 #9AC78E
analogous
#9F8EC7 #BB8EC7 #C78EB7
triadic
#BB8EC7 #C7BB8E #8EC7BB
tetradic
#BB8EC7 #C79F8E #9AC78E #8EB7C7
square
#BB8EC7 #C79F8E #9AC78E #8EB7C7
split-complementary
#BB8EC7 #B7C78E #8EC79F
monochromatic
#834892 #A265B3 #BB8EC7 #D4B7DB #ECE0F0

Accessibility & contrast

On white

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

On black

7.81
#BB8EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EC7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EC7#FFFFFF#000000##000000
##BB8EC71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BC9
Deuteranopia (green-blind)
#919FC5
Tritanopia (blue-blind)
#BC94A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8ec7;
/* rgb */ color: rgb(187, 142, 199);
/* oklch */ color: oklch(70.9% 0.095 319.1);
Tailwind
colors: {
  custom: {
    50: '#d0afd8',
    500: '#bb8ec7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ec7;
$custom-light: #d0afd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ec7",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 287.368,
    "s": 33.728,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.09511,
    "h": 319.1
  },
  "luminance": 0.34034
}

Semantic roles & 50–950 ramp

primary
#BB8EC7
secondary
#D3E2CF
accent
#AD3951
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BB8EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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