#B87EDE#B87EDE

#B87EDE is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.148 H 310.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B87EDE
RGBrgb(184, 126, 222)
HSLhsl(276, 59%, 68%)
HSVhsv(276, 43%, 87%)
CMYKcmyk(17.1%, 43.2%, 0%, 12.9%)
CIE-LABlab(61.99, 39.82, -40.45)
CIE-LCHlch(61.99, 56.76, 314.55°)
OKLaboklab(68.85% 0.0971 -0.1123)
OKLCHoklch(68.85% 0.148 310.8)
XYZxyz(40.4105, 30.3867, 72.8295)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EDE #A4DE7E
analogous
#887EDE #B87EDE #DE7ED4
triadic
#B87EDE #DEB87E #7EDEB8
tetradic
#B87EDE #DE887E #A4DE7E #7ED4DE
square
#B87EDE #DE887E #A4DE7E #7ED4DE
split-complementary
#B87EDE #D4DE7E #7EDE88
monochromatic
#7F2EB4 #9D4DD2 #B87EDE #D3AFEA #EEDFF7

Accessibility & contrast

On white

2.97
#B87EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B87EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EDE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EDE#FFFFFF#000000##000000
##B87EDE1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E1
Deuteranopia (green-blind)
#7897DB
Tritanopia (blue-blind)
#B48DA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87ede;
/* rgb */ color: rgb(184, 126, 222);
/* oklch */ color: oklch(68.9% 0.148 310.8);
Tailwind
colors: {
  custom: {
    50: '#cfa4e8',
    500: '#b87ede',
    950: '#000000',
  },
}
SCSS
$custom: #b87ede;
$custom-light: #cfa4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ede",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 276.25,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68852,
    "c": 0.14846,
    "h": 310.8
  },
  "luminance": 0.30386
}

Semantic roles & 50–950 ramp

primary
#B87EDE
secondary
#D9EACD
accent
#C71F61
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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