#B87CFB#B87CFB

#B87CFB is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.186 H 303.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B87CFB
RGBrgb(184, 124, 251)
HSLhsl(268, 94%, 74%)
HSVhsv(268, 51%, 98%)
CMYKcmyk(26.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(62.99, 47.45, -54.93)
CIE-LCHlch(62.99, 72.59, 310.82°)
OKLaboklab(70.06% 0.1034 -0.1544)
OKLCHoklch(70.06% 0.186 303.8)
XYZxyz(44.3836, 31.5708, 95.0036)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CFB #BFFB7C
analogous
#7C7FFB #B87CFB #F77CFB
triadic
#B87CFB #FBB87C #7CFBB8
tetradic
#B87CFB #FB7C7F #BFFB7C #7CFBF7
square
#B87CFB #FB7C7F #BFFB7C #7CFBF7
split-complementary
#B87CFB #FBF77C #7FFB7C
monochromatic
#7807F5 #9841F9 #B87CFB #D8B7FD #EFE1FE

Accessibility & contrast

On white

2.87
#B87CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B87CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87CFB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CFB#FFFFFF#000000##000000
##B87CFB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6598F8
Tritanopia (blue-blind)
#AC93B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87cfb;
/* rgb */ color: rgb(184, 124, 251);
/* oklch */ color: oklch(70.1% 0.186 303.8);
Tailwind
colors: {
  custom: {
    50: '#d0a3fd',
    500: '#b87cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b87cfb;
$custom-light: #d0a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cfb",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 268.346,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70063,
    "c": 0.18581,
    "h": 303.8
  },
  "luminance": 0.31571
}

Semantic roles & 50–950 ramp

primary
#B87CFB
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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