#B87EDA#B87EDA

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

Color values

HEX#B87EDA
RGBrgb(184, 126, 218)
HSLhsl(278, 55%, 67%)
HSVhsv(278, 42%, 85%)
CMYKcmyk(15.6%, 42.2%, 0%, 14.5%)
CIE-LABlab(61.80, 38.96, -38.50)
CIE-LCHlch(61.80, 54.77, 315.34°)
OKLaboklab(68.66% 0.0964 -0.1067)
OKLCHoklch(68.66% 0.144 312.1)
XYZxyz(39.8807, 30.1748, 70.0395)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EDA #A0DA7E
analogous
#8A7EDA #B87EDA #DA7ECE
triadic
#B87EDA #DAB87E #7EDAB8
tetradic
#B87EDA #DA8A7E #A0DA7E #7ECEDA
square
#B87EDA #DA8A7E #A0DA7E #7ECEDA
split-complementary
#B87EDA #CEDA7E #7EDA8A
monochromatic
#7F31AC #9E4ECC #B87EDA #D2AEE8 #ECDDF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B87EDA#FFFFFF#000000##000000
##B87EDA1.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)
#6C92DD
Deuteranopia (green-blind)
#7A97D7
Tritanopia (blue-blind)
#B58BA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87eda;
/* rgb */ color: rgb(184, 126, 218);
/* oklch */ color: oklch(68.7% 0.144 312.1);
Tailwind
colors: {
  custom: {
    50: '#cfa4e6',
    500: '#b87eda',
    950: '#000000',
  },
}
SCSS
$custom: #b87eda;
$custom-light: #cfa4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b87eda",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 277.826,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.14378,
    "h": 312.1
  },
  "luminance": 0.30174
}

Semantic roles & 50–950 ramp

primary
#B87EDA
secondary
#D6E8CC
accent
#C3235E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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