#B87EFD#B87EFD

#B87EFD is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.5% C 0.185 H 303.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B87EFD
RGBrgb(184, 126, 253)
HSLhsl(267, 97%, 74%)
HSVhsv(267, 50%, 99%)
CMYKcmyk(27.3%, 50.2%, 0%, 0.8%)
CIE-LABlab(63.51, 46.84, -55.19)
CIE-LCHlch(63.51, 72.39, 310.32°)
OKLaboklab(70.49% 0.101 -0.1552)
OKLCHoklch(70.49% 0.185 303.1)
XYZxyz(44.9537, 32.2039, 96.7572)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EFD #C3FD7E
analogous
#7E84FD #B87EFD #F87EFD
triadic
#B87EFD #FDB87E #7EFDB8
tetradic
#B87EFD #FD7E84 #C3FD7E #7EFDF8
square
#B87EFD #FD7E84 #C3FD7E #7EFDF8
split-complementary
#B87EFD #FDF87E #84FD7E
monochromatic
#7605FB #9742FC #B87EFD #D9BAFE #EEE1FF

Accessibility & contrast

On white

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

On black

7.44
#B87EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EFD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EFD#FFFFFF#000000##000000
##B87EFD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#AC95B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87efd;
/* rgb */ color: rgb(184, 126, 253);
/* oklch */ color: oklch(70.5% 0.185 303.1);
Tailwind
colors: {
  custom: {
    50: '#d0a5ff',
    500: '#b87efd',
    950: '#000000',
  },
}
SCSS
$custom: #b87efd;
$custom-light: #d0a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87efd",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 267.402,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.18514,
    "h": 303.1
  },
  "luminance": 0.32204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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