#B87BF5#B87BF5

#B87BF5 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.180 H 305.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B87BF5
RGBrgb(184, 123, 245)
HSLhsl(270, 86%, 72%)
HSVhsv(270, 50%, 96%)
CMYKcmyk(24.9%, 49.8%, 0%, 3.9%)
CIE-LABlab(62.46, 46.60, -52.45)
CIE-LCHlch(62.46, 70.17, 311.62°)
OKLaboklab(69.57% 0.1042 -0.1472)
OKLCHoklch(69.57% 0.18 305.3)
XYZxyz(43.3281, 30.9491, 90.0597)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF5 #B8F57B
analogous
#7B7BF5 #B87BF5 #F57BF5
triadic
#B87BF5 #F5B87B #7BF5B8
tetradic
#B87BF5 #F57B7B #B8F57B #7BF5F5
square
#B87BF5 #F57B7B #B8F57B #7BF5F5
split-complementary
#B87BF5 #F5F57B #7BF57B
monochromatic
#7B11E4 #9942F1 #B87BF5 #D7B4F9 #F0E3FD

Accessibility & contrast

On white

2.92
#B87BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B87BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF5#FFFFFF#000000##000000
##B87BF51.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#6897F2
Tritanopia (blue-blind)
#AE91AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87bf5;
/* rgb */ color: rgb(184, 123, 245);
/* oklch */ color: oklch(69.6% 0.180 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0a3f9',
    500: '#b87bf5',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf5;
$custom-light: #d0a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf5",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 270,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.18031,
    "h": 305.3
  },
  "luminance": 0.30949
}

Semantic roles & 50–950 ramp

primary
#B87BF5
secondary
#E6F5D6
accent
#E20373
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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