#B87DF8#B87DF8

#B87DF8 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.181 H 304.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B87DF8
RGBrgb(184, 125, 248)
HSLhsl(269, 90%, 73%)
HSVhsv(269, 50%, 97%)
CMYKcmyk(25.8%, 49.6%, 0%, 2.7%)
CIE-LABlab(63.04, 46.22, -53.19)
CIE-LCHlch(63.04, 70.47, 310.99°)
OKLaboklab(70.05% 0.1018 -0.1493)
OKLCHoklch(70.05% 0.181 304.3)
XYZxyz(44.0404, 31.6351, 92.5748)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DF8 #BDF87D
analogous
#7D7FF8 #B87DF8 #F57DF8
triadic
#B87DF8 #F8B87D #7DF8B8
tetradic
#B87DF8 #F87D7F #BDF87D #7DF8F5
square
#B87DF8 #F87D7F #BDF87D #7DF8F5
split-complementary
#B87DF8 #F8F57D #7FF87D
monochromatic
#790DEE #9843F5 #B87DF8 #D8B7FB #EFE2FD

Accessibility & contrast

On white

2.87
#B87DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B87DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DF8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DF8#FFFFFF#000000##000000
##B87DF81.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#AD93AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87df8;
/* rgb */ color: rgb(184, 125, 248);
/* oklch */ color: oklch(70.1% 0.181 304.3);
Tailwind
colors: {
  custom: {
    50: '#d0a4fb',
    500: '#b87df8',
    950: '#000000',
  },
}
SCSS
$custom: #b87df8;
$custom-light: #d0a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b87df8",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 268.78,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70052,
    "c": 0.18075,
    "h": 304.3
  },
  "luminance": 0.31635
}

Semantic roles & 50–950 ramp

primary
#B87DF8
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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