#B87ECF#B87ECF

#B87ECF is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.1% C 0.131 H 316.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B87ECF
RGBrgb(184, 126, 207)
HSLhsl(283, 46%, 65%)
HSVhsv(283, 39%, 81%)
CMYKcmyk(11.1%, 39.1%, 0%, 18.8%)
CIE-LABlab(61.32, 36.63, -33.08)
CIE-LCHlch(61.32, 49.36, 317.91°)
OKLaboklab(68.14% 0.0942 -0.0911)
OKLCHoklch(68.14% 0.131 316)
XYZxyz(38.4888, 29.6180, 62.7087)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87ECF #95CF7E
analogous
#8F7ECF #B87ECF #CF7EBD
triadic
#B87ECF #CFB87E #7ECFB8
tetradic
#B87ECF #CF8F7E #95CF7E #7EBDCF
square
#B87ECF #CF8F7E #95CF7E #7EBDCF
split-complementary
#B87ECF #BDCF7E #7ECF8F
monochromatic
#7E3999 #9F51BE #B87ECF #D1ABE0 #E9D7F0

Accessibility & contrast

On white

3.03
#B87ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B87ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87ECF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87ECF#FFFFFF#000000##000000
##B87ECF1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#B7899D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87ecf;
/* rgb */ color: rgb(184, 126, 207);
/* oklch */ color: oklch(68.1% 0.131 316.0);
Tailwind
colors: {
  custom: {
    50: '#cea4de',
    500: '#b87ecf',
    950: '#000000',
  },
}
SCSS
$custom: #b87ecf;
$custom-light: #cea4de;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ecf",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 282.963,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.13109,
    "h": 316
  },
  "luminance": 0.29617
}

Semantic roles & 50–950 ramp

primary
#B87ECF
secondary
#CFE2C7
accent
#B92D54
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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