#B87ECC#B87ECC

#B87ECC is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.0% C 0.128 H 317.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B87ECC
RGBrgb(184, 126, 204)
HSLhsl(285, 43%, 65%)
HSVhsv(285, 38%, 80%)
CMYKcmyk(9.8%, 38.2%, 0%, 20%)
CIE-LABlab(61.20, 36.00, -31.59)
CIE-LCHlch(61.20, 47.90, 318.73°)
OKLaboklab(68% 0.0936 -0.0869)
OKLCHoklch(68% 0.128 317.1)
XYZxyz(38.1255, 29.4727, 60.7955)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87ECC #92CC7E
analogous
#917ECC #B87ECC #CC7EB9
triadic
#B87ECC #CCB87E #7ECCB8
tetradic
#B87ECC #CC917E #92CC7E #7EB9CC
square
#B87ECC #CC917E #92CC7E #7EB9CC
split-complementary
#B87ECC #B9CC7E #7ECC91
monochromatic
#7E3B95 #A052BB #B87ECC #D0AADD #E8D6EF

Accessibility & contrast

On white

3.05
#B87ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B87ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87ECC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87ECC#FFFFFF#000000##000000
##B87ECC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#B8889B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87ecc;
/* rgb */ color: rgb(184, 126, 204);
/* oklch */ color: oklch(68.0% 0.128 317.1);
Tailwind
colors: {
  custom: {
    50: '#cea4dc',
    500: '#b87ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b87ecc;
$custom-light: #cea4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ecc",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 284.615,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67998,
    "c": 0.12768,
    "h": 317.1
  },
  "luminance": 0.29472
}

Semantic roles & 50–950 ramp

primary
#B87ECC
secondary
#CCE0C6
accent
#B62F52
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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