#B87EF9#B87EF9

#B87EF9 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.180 H 303.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B87EF9
RGBrgb(184, 126, 249)
HSLhsl(268, 91%, 74%)
HSVhsv(268, 49%, 98%)
CMYKcmyk(26.1%, 49.4%, 0%, 2.4%)
CIE-LABlab(63.30, 45.91, -53.33)
CIE-LCHlch(63.30, 70.37, 310.73°)
OKLaboklab(70.26% 0.1006 -0.1497)
OKLCHoklch(70.26% 0.18 303.9)
XYZxyz(44.3232, 31.9517, 93.4364)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EF9 #BFF97E
analogous
#7E81F9 #B87EF9 #F67EF9
triadic
#B87EF9 #F9B87E #7EF9B8
tetradic
#B87EF9 #F97E81 #BFF97E #7EF9F6
square
#B87EF9 #F97E81 #BFF97E #7EF9F6
split-complementary
#B87EF9 #F9F67E #81F97E
monochromatic
#780BF1 #9844F6 #B87EF9 #D8B8FC #EFE2FE

Accessibility & contrast

On white

2.84
#B87EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#B87EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EF9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EF9#FFFFFF#000000##000000
##B87EF91.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#AD94B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87ef9;
/* rgb */ color: rgb(184, 126, 249);
/* oklch */ color: oklch(70.3% 0.180 303.9);
Tailwind
colors: {
  custom: {
    50: '#d0a5fc',
    500: '#b87ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b87ef9;
$custom-light: #d0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ef9",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 268.293,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.18039,
    "h": 303.9
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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