#BD87FA#BD87FA

#BD87FA is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.2% C 0.169 H 304.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BD87FA
RGBrgb(189, 135, 250)
HSLhsl(268, 92%, 75%)
HSVhsv(268, 46%, 98%)
CMYKcmyk(24.4%, 46%, 0%, 2%)
CIE-LABlab(65.79, 42.58, -49.91)
CIE-LCHlch(65.79, 65.61, 310.47°)
OKLaboklab(72.25% 0.0948 -0.1397)
OKLCHoklch(72.25% 0.169 304.2)
XYZxyz(46.9019, 35.0491, 94.7182)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87FA #C4FA87
analogous
#878AFA #BD87FA #F787FA
triadic
#BD87FA #FABD87 #87FABD
tetradic
#BD87FA #FA878A #C4FA87 #87FAF7
square
#BD87FA #FA878A #C4FA87 #87FAF7
split-complementary
#BD87FA #FAF787 #8AFA87
monochromatic
#7C11F5 #9D4CF8 #BD87FA #DDC2FC #EFE2FE

Accessibility & contrast

On white

2.62
#BD87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#BD87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87FA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87FA#FFFFFF#000000##000000
##BD87FA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#B39BB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87fa;
/* rgb */ color: rgb(189, 135, 250);
/* oklch */ color: oklch(72.2% 0.169 304.2);
Tailwind
colors: {
  custom: {
    50: '#d3abfc',
    500: '#bd87fa',
    950: '#000000',
  },
}
SCSS
$custom: #bd87fa;
$custom-light: #d3abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87fa",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 268.174,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.16882,
    "h": 304.2
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#BD87FA
secondary
#E6F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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