#B87BEC#B87BEC

#B87BEC is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.170 H 307.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B87BEC
RGBrgb(184, 123, 236)
HSLhsl(272, 75%, 70%)
HSVhsv(272, 48%, 93%)
CMYKcmyk(22%, 47.9%, 0%, 7.5%)
CIE-LABlab(62.01, 44.56, -48.20)
CIE-LCHlch(62.01, 65.64, 312.75°)
OKLaboklab(69.09% 0.1032 -0.1348)
OKLCHoklch(69.09% 0.17 307.4)
XYZxyz(41.9874, 30.4128, 82.9990)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BEC #AFEC7B
analogous
#7F7BEC #B87BEC #EC7BE8
triadic
#B87BEC #ECB87B #7BECB8
tetradic
#B87BEC #EC7F7B #AFEC7B #7BE8EC
square
#B87BEC #EC7F7B #AFEC7B #7BE8EC
split-complementary
#B87BEC #E8EC7B #7BEC7F
monochromatic
#7D1ECF #9B46E4 #B87BEC #D5B0F4 #F1E4FB

Accessibility & contrast

On white

2.97
#B87BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B87BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BEC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BEC#FFFFFF#000000##000000
##B87BEC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#B08EA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87bec;
/* rgb */ color: rgb(184, 123, 236);
/* oklch */ color: oklch(69.1% 0.170 307.4);
Tailwind
colors: {
  custom: {
    50: '#cfa2f2',
    500: '#b87bec',
    950: '#000000',
  },
}
SCSS
$custom: #b87bec;
$custom-light: #cfa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bec",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 272.389,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69087,
    "c": 0.16976,
    "h": 307.4
  },
  "luminance": 0.30412
}

Semantic roles & 50–950 ramp

primary
#B87BEC
secondary
#E0F1D2
accent
#D70F6B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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