#B87EF8#B87EF8

#B87EF8 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.179 H 304.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B87EF8
RGBrgb(184, 126, 248)
HSLhsl(269, 90%, 73%)
HSVhsv(269, 49%, 97%)
CMYKcmyk(25.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(63.25, 45.68, -52.86)
CIE-LCHlch(63.25, 69.86, 310.83°)
OKLaboklab(70.21% 0.1005 -0.1484)
OKLCHoklch(70.21% 0.179 304.1)
XYZxyz(44.1676, 31.8895, 92.6172)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EF8 #BEF87E
analogous
#7E81F8 #B87EF8 #F57EF8
triadic
#B87EF8 #F8B87E #7EF8B8
tetradic
#B87EF8 #F87E81 #BEF87E #7EF8F5
square
#B87EF8 #F87E81 #BEF87E #7EF8F5
split-complementary
#B87EF8 #F8F57E #81F87E
monochromatic
#780DEF #9844F5 #B87EF8 #D8B8FB #EFE2FD

Accessibility & contrast

On white

2.85
#B87EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B87EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EF8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EF8#FFFFFF#000000##000000
##B87EF81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#AD94B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87ef8;
/* rgb */ color: rgb(184, 126, 248);
/* oklch */ color: oklch(70.2% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#d0a5fb',
    500: '#b87ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b87ef8;
$custom-light: #d0a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ef8",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 268.525,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70209,
    "c": 0.17921,
    "h": 304.1
  },
  "luminance": 0.31889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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