#B87DEE#B87DEE

#B87DEE is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.169 H 306.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B87DEE
RGBrgb(184, 125, 238)
HSLhsl(271, 77%, 71%)
HSVhsv(271, 47%, 93%)
CMYKcmyk(22.7%, 47.5%, 0%, 6.7%)
CIE-LABlab(62.53, 43.93, -48.48)
CIE-LCHlch(62.53, 65.42, 312.18°)
OKLaboklab(69.51% 0.1008 -0.1356)
OKLCHoklch(69.51% 0.169 306.6)
XYZxyz(42.5303, 31.0310, 84.6214)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DEE #B3EE7D
analogous
#7F7DEE #B87DEE #EE7DEC
triadic
#B87DEE #EEB87D #7DEEB8
tetradic
#B87DEE #EE7F7D #B3EE7D #7DECEE
square
#B87DEE #EE7F7D #B3EE7D #7DECEE
split-complementary
#B87DEE #ECEE7D #7DEE7F
monochromatic
#7C1CD5 #9A47E7 #B87DEE #D6B3F5 #F0E4FB

Accessibility & contrast

On white

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

On black

7.21
#B87DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DEE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DEE#FFFFFF#000000##000000
##B87DEE1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#B090AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87dee;
/* rgb */ color: rgb(184, 125, 238);
/* oklch */ color: oklch(69.5% 0.169 306.6);
Tailwind
colors: {
  custom: {
    50: '#cfa4f4',
    500: '#b87dee',
    950: '#000000',
  },
}
SCSS
$custom: #b87dee;
$custom-light: #cfa4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dee",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 271.327,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6951,
    "c": 0.16893,
    "h": 306.6
  },
  "luminance": 0.31031
}

Semantic roles & 50–950 ramp

primary
#B87DEE
secondary
#E3F2D5
accent
#D90C6E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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