#BB7ECC#BB7ECC

#BB7ECC is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.3% C 0.129 H 318.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BB7ECC
RGBrgb(187, 126, 204)
HSLhsl(287, 43%, 65%)
HSVhsv(287, 38%, 80%)
CMYKcmyk(8.3%, 38.2%, 0%, 20%)
CIE-LABlab(61.52, 36.93, -31.06)
CIE-LCHlch(61.52, 48.25, 319.93°)
OKLaboklab(68.32% 0.0971 -0.0853)
OKLCHoklch(68.32% 0.129 318.7)
XYZxyz(38.8520, 29.8473, 60.8295)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ECC #8FCC7E
analogous
#947ECC #BB7ECC #CC7EB6
triadic
#BB7ECC #CCBB7E #7ECCBB
tetradic
#BB7ECC #CC947E #8FCC7E #7EB6CC
square
#BB7ECC #CC947E #8FCC7E #7EB6CC
split-complementary
#BB7ECC #B6CC7E #7ECC94
monochromatic
#813B95 #A452BB #BB7ECC #D2AADD #E9D6EF

Accessibility & contrast

On white

3.01
#BB7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#BB7ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7ECC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ECC#FFFFFF#000000##000000
##BB7ECC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#BC889B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7ecc;
/* rgb */ color: rgb(187, 126, 204);
/* oklch */ color: oklch(68.3% 0.129 318.7);
Tailwind
colors: {
  custom: {
    50: '#d0a4db',
    500: '#bb7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ecc;
$custom-light: #d0a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ecc",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 286.923,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68317,
    "c": 0.12925,
    "h": 318.7
  },
  "luminance": 0.29846
}

Semantic roles & 50–950 ramp

primary
#BB7ECC
secondary
#CBE0C6
accent
#B62F4D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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