#B87DFD#B87DFD

#B87DFD is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.187 H 303.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B87DFD
RGBrgb(184, 125, 253)
HSLhsl(268, 97%, 74%)
HSVhsv(268, 51%, 99%)
CMYKcmyk(27.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(63.30, 47.38, -55.53)
CIE-LCHlch(63.30, 73.00, 310.47°)
OKLaboklab(70.33% 0.1022 -0.1561)
OKLCHoklch(70.33% 0.187 303.2)
XYZxyz(44.8265, 31.9495, 96.7148)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DFD #C2FD7D
analogous
#7D82FD #B87DFD #F87DFD
triadic
#B87DFD #FDB87D #7DFDB8
tetradic
#B87DFD #FD7D82 #C2FD7D #7DFDF8
square
#B87DFD #FD7D82 #C2FD7D #7DFDF8
split-complementary
#B87DFD #FDF87D #82FD7D
monochromatic
#7604FB #9741FC #B87DFD #D9B9FE #EFE1FF

Accessibility & contrast

On white

2.84
#B87DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#B87DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DFD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DFD#FFFFFF#000000##000000
##B87DFD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#AC94B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87dfd;
/* rgb */ color: rgb(184, 125, 253);
/* oklch */ color: oklch(70.3% 0.187 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0a4ff',
    500: '#b87dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b87dfd;
$custom-light: #d0a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dfd",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 267.656,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.18665,
    "h": 303.2
  },
  "luminance": 0.31949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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