#B87ECB#B87ECB

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

Color values

HEX#B87ECB
RGBrgb(184, 126, 203)
HSLhsl(285, 43%, 65%)
HSVhsv(285, 38%, 80%)
CMYKcmyk(9.4%, 37.9%, 0%, 20.4%)
CIE-LABlab(61.15, 35.80, -31.09)
CIE-LCHlch(61.15, 47.42, 319.02°)
OKLaboklab(67.95% 0.0934 -0.0854)
OKLCHoklch(67.95% 0.127 317.5)
XYZxyz(38.0060, 29.4249, 60.1658)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87ECB #91CB7E
analogous
#927ECB #B87ECB #CB7EB7
triadic
#B87ECB #CBB87E #7ECBB8
tetradic
#B87ECB #CB927E #91CB7E #7EB7CB
square
#B87ECB #CB927E #91CB7E #7EB7CB
split-complementary
#B87ECB #B7CB7E #7ECB92
monochromatic
#7E3B93 #A052B9 #B87ECB #D0AADD #E8D5EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B87ECB#FFFFFF#000000##000000
##B87ECB1.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)
#7390CE
Deuteranopia (green-blind)
#8196C9
Tritanopia (blue-blind)
#B8889B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87ecb;
/* rgb */ color: rgb(184, 126, 203);
/* oklch */ color: oklch(68.0% 0.127 317.5);
Tailwind
colors: {
  custom: {
    50: '#cea4db',
    500: '#b87ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b87ecb;
$custom-light: #cea4db;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ecb",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 285.195,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67953,
    "c": 0.12655,
    "h": 317.5
  },
  "luminance": 0.29424
}

Semantic roles & 50–950 ramp

primary
#B87ECB
secondary
#CCE0C5
accent
#B63051
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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