#B87CFC#B87CFC

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

Color values

HEX#B87CFC
RGBrgb(184, 124, 252)
HSLhsl(268, 96%, 74%)
HSVhsv(268, 51%, 99%)
CMYKcmyk(27%, 50.8%, 0%, 1.2%)
CIE-LABlab(63.04, 47.68, -55.39)
CIE-LCHlch(63.04, 73.09, 310.72°)
OKLaboklab(70.12% 0.1035 -0.1558)
OKLCHoklch(70.12% 0.187 303.6)
XYZxyz(44.5416, 31.6340, 95.8360)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CFC #C0FC7C
analogous
#7C80FC #B87CFC #F87CFC
triadic
#B87CFC #FCB87C #7CFCB8
tetradic
#B87CFC #FC7C80 #C0FC7C #7CFCF8
square
#B87CFC #FC7C80 #C0FC7C #7CFCF8
split-complementary
#B87CFC #FCF87C #80FC7C
monochromatic
#7706F8 #9840FB #B87CFC #D8B8FD #EFE1FE

Accessibility & contrast

On white

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

On black

7.33
#B87CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87CFC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CFC#FFFFFF#000000##000000
##B87CFC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#AC93B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87cfc;
/* rgb */ color: rgb(184, 124, 252);
/* oklch */ color: oklch(70.1% 0.187 303.6);
Tailwind
colors: {
  custom: {
    50: '#d0a3fe',
    500: '#b87cfc',
    950: '#000000',
  },
}
SCSS
$custom: #b87cfc;
$custom-light: #d0a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cfc",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 268.125,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.18699,
    "h": 303.6
  },
  "luminance": 0.31634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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