#B87DFB#B87DFB

#B87DFB is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.184 H 303.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B87DFB
RGBrgb(184, 125, 251)
HSLhsl(268, 94%, 74%)
HSVhsv(268, 50%, 98%)
CMYKcmyk(26.7%, 50.2%, 0%, 1.6%)
CIE-LABlab(63.20, 46.91, -54.60)
CIE-LCHlch(63.20, 71.98, 310.67°)
OKLaboklab(70.22% 0.1021 -0.1534)
OKLCHoklch(70.22% 0.184 303.6)
XYZxyz(44.5096, 31.8227, 95.0456)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DFB #C0FB7D
analogous
#7D81FB #B87DFB #F77DFB
triadic
#B87DFB #FBB87D #7DFBB8
tetradic
#B87DFB #FB7D81 #C0FB7D #7DFBF7
square
#B87DFB #FB7D81 #C0FB7D #7DFBF7
split-complementary
#B87DFB #FBF77D #81FB7D
monochromatic
#7708F6 #9842F9 #B87DFB #D8B8FD #EFE1FE

Accessibility & contrast

On white

2.85
#B87DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B87DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DFB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DFB#FFFFFF#000000##000000
##B87DFB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#AC94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87dfb;
/* rgb */ color: rgb(184, 125, 251);
/* oklch */ color: oklch(70.2% 0.184 303.6);
Tailwind
colors: {
  custom: {
    50: '#d0a4fd',
    500: '#b87dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b87dfb;
$custom-light: #d0a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dfb",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 268.095,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.18429,
    "h": 303.6
  },
  "luminance": 0.31823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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