#B87CEC#B87CEC

#B87CEC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.168 H 307.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B87CEC
RGBrgb(184, 124, 236)
HSLhsl(272, 75%, 71%)
HSVhsv(272, 47%, 93%)
CMYKcmyk(22%, 47.5%, 0%, 7.5%)
CIE-LABlab(62.22, 44.02, -47.86)
CIE-LCHlch(62.22, 65.03, 312.60°)
OKLaboklab(69.25% 0.1019 -0.1338)
OKLCHoklch(69.25% 0.168 307.3)
XYZxyz(42.1121, 30.6622, 83.0405)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CEC #B0EC7C
analogous
#807CEC #B87CEC #EC7CE8
triadic
#B87CEC #ECB87C #7CECB8
tetradic
#B87CEC #EC807C #B0EC7C #7CE8EC
square
#B87CEC #EC807C #B0EC7C #7CE8EC
split-complementary
#B87CEC #E8EC7C #7CEC80
monochromatic
#7D1ED0 #9B47E4 #B87CEC #D5B1F4 #F1E4FB

Accessibility & contrast

On white

2.94
#B87CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B87CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87CEC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CEC#FFFFFF#000000##000000
##B87CEC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#B08FA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87cec;
/* rgb */ color: rgb(184, 124, 236);
/* oklch */ color: oklch(69.2% 0.168 307.3);
Tailwind
colors: {
  custom: {
    50: '#cfa3f2',
    500: '#b87cec',
    950: '#000000',
  },
}
SCSS
$custom: #b87cec;
$custom-light: #cfa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cec",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 272.143,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69245,
    "c": 0.16817,
    "h": 307.3
  },
  "luminance": 0.30662
}

Semantic roles & 50–950 ramp

primary
#B87CEC
secondary
#E1F1D3
accent
#D70F6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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