#B87BEE#B87BEE

#B87BEE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.172 H 306.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B87BEE
RGBrgb(184, 123, 238)
HSLhsl(272, 77%, 71%)
HSVhsv(272, 48%, 93%)
CMYKcmyk(22.7%, 48.3%, 0%, 6.7%)
CIE-LABlab(62.11, 45.01, -49.15)
CIE-LCHlch(62.11, 66.64, 312.48°)
OKLaboklab(69.19% 0.1035 -0.1375)
OKLCHoklch(69.19% 0.172 306.9)
XYZxyz(42.2796, 30.5297, 84.5378)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BEE #B1EE7B
analogous
#7E7BEE #B87BEE #EE7BEA
triadic
#B87BEE #EEB87B #7BEEB8
tetradic
#B87BEE #EE7E7B #B1EE7B #7BEAEE
square
#B87BEE #EE7E7B #B1EE7B #7BEAEE
split-complementary
#B87BEE #EAEE7B #7BEE7E
monochromatic
#7D1BD3 #9B45E7 #B87BEE #D5B1F5 #F0E4FC

Accessibility & contrast

On white

2.96
#B87BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B87BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BEE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BEE#FFFFFF#000000##000000
##B87BEE1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b87bee;
/* rgb */ color: rgb(184, 123, 238);
/* oklch */ color: oklch(69.2% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#d0a3f4',
    500: '#b87bee',
    950: '#000000',
  },
}
SCSS
$custom: #b87bee;
$custom-light: #d0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bee",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 271.826,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69193,
    "c": 0.1721,
    "h": 306.9
  },
  "luminance": 0.30529
}

Semantic roles & 50–950 ramp

primary
#B87BEE
secondary
#E1F2D3
accent
#D90C6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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