#B87FFD#B87FFD

#B87FFD is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.6% C 0.184 H 302.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B87FFD
RGBrgb(184, 127, 253)
HSLhsl(267, 97%, 75%)
HSVhsv(267, 50%, 99%)
CMYKcmyk(27.3%, 49.8%, 0%, 0.8%)
CIE-LABlab(63.72, 46.31, -54.86)
CIE-LCHlch(63.72, 71.79, 310.17°)
OKLaboklab(70.64% 0.0997 -0.1542)
OKLCHoklch(70.64% 0.184 302.9)
XYZxyz(45.0822, 32.4610, 96.8000)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FFD #C4FD7F
analogous
#7F85FD #B87FFD #F77FFD
triadic
#B87FFD #FDB87F #7FFDB8
tetradic
#B87FFD #FD7F85 #C4FD7F #7FFDF7
square
#B87FFD #FD7F85 #C4FD7F #7FFDF7
split-complementary
#B87FFD #FDF77F #85FD7F
monochromatic
#7506FB #9743FC #B87FFD #D9BBFE #EEE1FF

Accessibility & contrast

On white

2.80
#B87FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B87FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FFD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FFD#FFFFFF#000000##000000
##B87FFD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#AC96B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ffd;
/* rgb */ color: rgb(184, 127, 253);
/* oklch */ color: oklch(70.6% 0.184 302.9);
Tailwind
colors: {
  custom: {
    50: '#d0a5fe',
    500: '#b87ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b87ffd;
$custom-light: #d0a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ffd",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 267.143,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70643,
    "c": 0.18361,
    "h": 302.9
  },
  "luminance": 0.32461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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