#B87DDE#B87DDE

#B87DDE is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.150 H 311.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B87DDE
RGBrgb(184, 125, 222)
HSLhsl(276, 60%, 68%)
HSVhsv(276, 44%, 87%)
CMYKcmyk(17.1%, 43.7%, 0%, 12.9%)
CIE-LABlab(61.77, 40.37, -40.79)
CIE-LCHlch(61.77, 57.39, 314.70°)
OKLaboklab(68.69% 0.0985 -0.1133)
OKLCHoklch(68.69% 0.15 311)
XYZxyz(40.2832, 30.1322, 72.7871)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DDE #A3DE7D
analogous
#877DDE #B87DDE #DE7DD3
triadic
#B87DDE #DEB87D #7DDEB8
tetradic
#B87DDE #DE877D #A3DE7D #7DD3DE
square
#B87DDE #DE877D #A3DE7D #7DD3DE
split-complementary
#B87DDE #D3DE7D #7DDE87
monochromatic
#7F2DB3 #9D4CD2 #B87DDE #D3AEEA #EDDFF7

Accessibility & contrast

On white

2.99
#B87DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B87DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DDE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DDE#FFFFFF#000000##000000
##B87DDE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E1
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#B48CA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87dde;
/* rgb */ color: rgb(184, 125, 222);
/* oklch */ color: oklch(68.7% 0.150 311.0);
Tailwind
colors: {
  custom: {
    50: '#cfa4e8',
    500: '#b87dde',
    950: '#000000',
  },
}
SCSS
$custom: #b87dde;
$custom-light: #cfa4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dde",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 276.495,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68688,
    "c": 0.15012,
    "h": 311
  },
  "luminance": 0.30132
}

Semantic roles & 50–950 ramp

primary
#B87DDE
secondary
#D8EACD
accent
#C71E60
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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