#B87DEB#B87DEB

#B87DEB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.165 H 307.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B87DEB
RGBrgb(184, 125, 235)
HSLhsl(272, 73%, 71%)
HSVhsv(272, 47%, 92%)
CMYKcmyk(21.7%, 46.8%, 0%, 7.8%)
CIE-LABlab(62.39, 43.25, -47.05)
CIE-LCHlch(62.39, 63.91, 312.59°)
OKLaboklab(69.35% 0.1004 -0.1314)
OKLCHoklch(69.35% 0.165 307.4)
XYZxyz(42.0932, 30.8562, 82.3195)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DEB #B0EB7D
analogous
#817DEB #B87DEB #EB7DE7
triadic
#B87DEB #EBB87D #7DEBB8
tetradic
#B87DEB #EB817D #B0EB7D #7DE7EB
square
#B87DEB #EB817D #B0EB7D #7DE7EB
split-complementary
#B87DEB #E7EB7D #7DEB81
monochromatic
#7D20CE #9B48E3 #B87DEB #D5B2F3 #F1E4FB

Accessibility & contrast

On white

2.93
#B87DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B87DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DEB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DEB#FFFFFF#000000##000000
##B87DEB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#B18FA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87deb;
/* rgb */ color: rgb(184, 125, 235);
/* oklch */ color: oklch(69.4% 0.165 307.4);
Tailwind
colors: {
  custom: {
    50: '#cfa4f2',
    500: '#b87deb',
    950: '#000000',
  },
}
SCSS
$custom: #b87deb;
$custom-light: #cfa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87deb",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 272.182,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69352,
    "c": 0.16539,
    "h": 307.4
  },
  "luminance": 0.30856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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