#B87DF9#B87DF9

#B87DF9 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.182 H 304.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B87DF9
RGBrgb(184, 125, 249)
HSLhsl(269, 91%, 73%)
HSVhsv(269, 50%, 98%)
CMYKcmyk(26.1%, 49.8%, 0%, 2.4%)
CIE-LABlab(63.09, 46.45, -53.66)
CIE-LCHlch(63.09, 70.97, 310.88°)
OKLaboklab(70.11% 0.1019 -0.1507)
OKLCHoklch(70.11% 0.182 304.1)
XYZxyz(44.1960, 31.6973, 93.3940)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DF9 #BEF97D
analogous
#7D80F9 #B87DF9 #F67DF9
triadic
#B87DF9 #F9B87D #7DF9B8
tetradic
#B87DF9 #F97D80 #BEF97D #7DF9F6
square
#B87DF9 #F97D80 #BEF97D #7DF9F6
split-complementary
#B87DF9 #F9F67D #80F97D
monochromatic
#780BF0 #9842F6 #B87DF9 #D8B7FC #EFE2FE

Accessibility & contrast

On white

2.86
#B87DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B87DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DF9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DF9#FFFFFF#000000##000000
##B87DF91.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#AD93B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87df9;
/* rgb */ color: rgb(184, 125, 249);
/* oklch */ color: oklch(70.1% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#d0a4fc',
    500: '#b87df9',
    950: '#000000',
  },
}
SCSS
$custom: #b87df9;
$custom-light: #d0a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87df9",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 268.548,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70107,
    "c": 0.18194,
    "h": 304.1
  },
  "luminance": 0.31697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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