#B87EEB#B87EEB

#B87EEB is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.164 H 307.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B87EEB
RGBrgb(184, 126, 235)
HSLhsl(272, 73%, 71%)
HSVhsv(272, 46%, 92%)
CMYKcmyk(21.7%, 46.4%, 0%, 7.8%)
CIE-LABlab(62.60, 42.71, -46.71)
CIE-LCHlch(62.60, 63.29, 312.44°)
OKLaboklab(69.51% 0.099 -0.1305)
OKLCHoklch(69.51% 0.164 307.2)
XYZxyz(42.2204, 31.1106, 82.3619)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EEB #B1EB7E
analogous
#817EEB #B87EEB #EB7EE7
triadic
#B87EEB #EBB87E #7EEBB8
tetradic
#B87EEB #EB817E #B1EB7E #7EE7EB
square
#B87EEB #EB817E #B1EB7E #7EE7EB
split-complementary
#B87EEB #E7EB7E #7EEB81
monochromatic
#7D20CF #9B49E3 #B87EEB #D5B3F3 #F0E5FB

Accessibility & contrast

On white

2.91
#B87EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B87EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EEB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EEB#FFFFFF#000000##000000
##B87EEB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#B190A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87eeb;
/* rgb */ color: rgb(184, 126, 235);
/* oklch */ color: oklch(69.5% 0.164 307.2);
Tailwind
colors: {
  custom: {
    50: '#cfa4f2',
    500: '#b87eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b87eeb;
$custom-light: #cfa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87eeb",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 271.927,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69512,
    "c": 0.16379,
    "h": 307.2
  },
  "luminance": 0.3111
}

Semantic roles & 50–950 ramp

primary
#B87EEB
secondary
#E1F1D4
accent
#D5106C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B87EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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