#B87BFD#B87BFD

#B87BFD is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.190 H 303.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B87BFD
RGBrgb(184, 123, 253)
HSLhsl(268, 97%, 74%)
HSVhsv(268, 51%, 99%)
CMYKcmyk(27.3%, 51.4%, 0%, 0.8%)
CIE-LABlab(62.88, 48.45, -56.19)
CIE-LCHlch(62.88, 74.20, 310.77°)
OKLaboklab(70.02% 0.1048 -0.1581)
OKLCHoklch(70.02% 0.19 303.5)
XYZxyz(44.5758, 31.4482, 96.6312)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BFD #C0FD7B
analogous
#7B7FFD #B87BFD #F97BFD
triadic
#B87BFD #FDB87B #7BFDB8
tetradic
#B87BFD #FD7B7F #C0FD7B #7BFDF9
square
#B87BFD #FD7B7F #C0FD7B #7BFDF9
split-complementary
#B87BFD #FDF97B #7FFD7B
monochromatic
#7704FA #983FFC #B87BFD #D8B7FE #EFE1FF

Accessibility & contrast

On white

2.88
#B87BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B87BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BFD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BFD#FFFFFF#000000##000000
##B87BFD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#AC93B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87bfd;
/* rgb */ color: rgb(184, 123, 253);
/* oklch */ color: oklch(70.0% 0.190 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0a3ff',
    500: '#b87bfd',
    950: '#000000',
  },
}
SCSS
$custom: #b87bfd;
$custom-light: #d0a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bfd",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 268.154,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.18968,
    "h": 303.5
  },
  "luminance": 0.31448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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