#B87ECA#B87ECA

#B87ECA is a light, vivid purple. Relative luminance 0.294; OKLCH L 67.9% C 0.125 H 318.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B87ECA
RGBrgb(184, 126, 202)
HSLhsl(286, 42%, 64%)
HSVhsv(286, 38%, 79%)
CMYKcmyk(8.9%, 37.6%, 0%, 20.8%)
CIE-LABlab(61.11, 35.59, -30.59)
CIE-LCHlch(61.11, 46.94, 319.32°)
OKLaboklab(67.91% 0.0931 -0.084)
OKLCHoklch(67.91% 0.125 318)
XYZxyz(37.8872, 29.3773, 59.5402)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87ECA #90CA7E
analogous
#927ECA #B87ECA #CA7EB6
triadic
#B87ECA #CAB87E #7ECAB8
tetradic
#B87ECA #CA927E #90CA7E #7EB6CA
square
#B87ECA #CA927E #90CA7E #7EB6CA
split-complementary
#B87ECA #B6CA7E #7ECA92
monochromatic
#7D3C92 #A053B8 #B87ECA #D0A9DC #E8D5EE

Accessibility & contrast

On white

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

On black

6.88
#B87ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87ECA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87ECA#FFFFFF#000000##000000
##B87ECA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#B8879B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b87eca;
/* rgb */ color: rgb(184, 126, 202);
/* oklch */ color: oklch(67.9% 0.125 318.0);
Tailwind
colors: {
  custom: {
    50: '#cea4da',
    500: '#b87eca',
    950: '#000000',
  },
}
SCSS
$custom: #b87eca;
$custom-light: #cea4da;
$custom-dark: #000000;
JSON
{
  "hex": "#b87eca",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 285.789,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67908,
    "c": 0.12543,
    "h": 318
  },
  "luminance": 0.29376
}

Semantic roles & 50–950 ramp

primary
#B87ECA
secondary
#CBDFC5
accent
#B53150
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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