#B87BF1#B87BF1

#B87BF1 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.176 H 306.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B87BF1
RGBrgb(184, 123, 241)
HSLhsl(271, 81%, 71%)
HSVhsv(271, 49%, 95%)
CMYKcmyk(23.7%, 49%, 0%, 5.5%)
CIE-LABlab(62.26, 45.69, -50.57)
CIE-LCHlch(62.26, 68.15, 312.10°)
OKLaboklab(69.36% 0.1038 -0.1417)
OKLCHoklch(69.36% 0.176 306.2)
XYZxyz(42.7240, 30.7075, 86.8784)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF1 #B4F17B
analogous
#7D7BF1 #B87BF1 #F17BEF
triadic
#B87BF1 #F1B87B #7BF1B8
tetradic
#B87BF1 #F17D7B #B4F17B #7BEFF1
square
#B87BF1 #F17D7B #B4F17B #7BEFF1
split-complementary
#B87BF1 #EFF17B #7BF17D
monochromatic
#7C17DA #9A44EB #B87BF1 #D6B2F7 #F0E3FC

Accessibility & contrast

On white

2.94
#B87BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B87BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF1#FFFFFF#000000##000000
##B87BF11.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F5
Deuteranopia (green-blind)
#6B97EE
Tritanopia (blue-blind)
#AF8FAB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87bf1;
/* rgb */ color: rgb(184, 123, 241);
/* oklch */ color: oklch(69.4% 0.176 306.2);
Tailwind
colors: {
  custom: {
    50: '#d0a3f6',
    500: '#b87bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf1;
$custom-light: #d0a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf1",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 271.017,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69355,
    "c": 0.17562,
    "h": 306.2
  },
  "luminance": 0.30707
}

Semantic roles & 50–950 ramp

primary
#B87BF1
secondary
#E3F3D5
accent
#DD086F
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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