#BD87EA#BD87EA

#BD87EA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.150 H 308.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BD87EA
RGBrgb(189, 135, 234)
HSLhsl(273, 70%, 72%)
HSVhsv(273, 42%, 92%)
CMYKcmyk(19.2%, 42.3%, 0%, 8.2%)
CIE-LABlab(65.03, 38.97, -42.30)
CIE-LCHlch(65.03, 57.51, 312.65°)
OKLaboklab(71.44% 0.0924 -0.1176)
OKLCHoklch(71.44% 0.15 308.2)
XYZxyz(44.4987, 34.0878, 82.0613)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87EA #B4EA87
analogous
#8B87EA #BD87EA #EA87E6
triadic
#BD87EA #EABD87 #87EABD
tetradic
#BD87EA #EA8B87 #B4EA87 #87E6EA
square
#BD87EA #EA8B87 #B4EA87 #87E6EA
split-complementary
#BD87EA #E6EA87 #87EA8B
monochromatic
#8325D2 #A053E1 #BD87EA #DABBF3 #F1E5FA

Accessibility & contrast

On white

2.69
#BD87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BD87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87EA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87EA#FFFFFF#000000##000000
##BD87EA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#B796AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd87ea;
/* rgb */ color: rgb(189, 135, 234);
/* oklch */ color: oklch(71.4% 0.150 308.2);
Tailwind
colors: {
  custom: {
    50: '#d2abf1',
    500: '#bd87ea',
    950: '#000000',
  },
}
SCSS
$custom: #bd87ea;
$custom-light: #d2abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87ea",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 272.727,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.14956,
    "h": 308.2
  },
  "luminance": 0.34087
}

Semantic roles & 50–950 ramp

primary
#BD87EA
secondary
#E4F2D9
accent
#D2136A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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