#B87EFE#B87EFE

#B87EFE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.186 H 302.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B87EFE
RGBrgb(184, 126, 254)
HSLhsl(267, 98%, 75%)
HSVhsv(267, 50%, 100%)
CMYKcmyk(27.6%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.56, 47.08, -55.66)
CIE-LCHlch(63.56, 72.90, 310.23°)
OKLaboklab(70.54% 0.1011 -0.1565)
OKLCHoklch(70.54% 0.186 302.8)
XYZxyz(45.1134, 32.2678, 97.5983)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EFE #C4FE7E
analogous
#7E84FE #B87EFE #F87EFE
triadic
#B87EFE #FEB87E #7EFEB8
tetradic
#B87EFE #FE7E84 #C4FE7E #7EFEF8
square
#B87EFE #FE7E84 #C4FE7E #7EFEF8
split-complementary
#B87EFE #FEF87E #84FE7E
monochromatic
#7505FD #9741FE #B87EFE #D9BBFE #EEE1FF

Accessibility & contrast

On white

2.82
#B87EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B87EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EFE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EFE#FFFFFF#000000##000000
##B87EFE1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#AB96B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87efe;
/* rgb */ color: rgb(184, 126, 254);
/* oklch */ color: oklch(70.5% 0.186 302.8);
Tailwind
colors: {
  custom: {
    50: '#d0a5ff',
    500: '#b87efe',
    950: '#000000',
  },
}
SCSS
$custom: #b87efe;
$custom-light: #d0a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87efe",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 267.188,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.18632,
    "h": 302.8
  },
  "luminance": 0.32268
}

Semantic roles & 50–950 ramp

primary
#B87EFE
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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