#B87BF4#B87BF4

#B87BF4 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.179 H 305.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B87BF4
RGBrgb(184, 123, 244)
HSLhsl(270, 85%, 72%)
HSVhsv(270, 50%, 96%)
CMYKcmyk(24.6%, 49.6%, 0%, 4.3%)
CIE-LABlab(62.41, 46.37, -51.98)
CIE-LCHlch(62.41, 69.66, 311.73°)
OKLaboklab(69.52% 0.1041 -0.1458)
OKLCHoklch(69.52% 0.179 305.5)
XYZxyz(43.1758, 30.8882, 89.2579)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF4 #B7F47B
analogous
#7C7BF4 #B87BF4 #F47BF3
triadic
#B87BF4 #F4B87B #7BF4B8
tetradic
#B87BF4 #F47C7B #B7F47B #7BF3F4
square
#B87BF4 #F47C7B #B7F47B #7BF3F4
split-complementary
#B87BF4 #F3F47B #7BF47C
monochromatic
#7B13E2 #9A43EF #B87BF4 #D6B3F9 #F0E3FD

Accessibility & contrast

On white

2.93
#B87BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B87BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF4#FFFFFF#000000##000000
##B87BF41.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#6997F1
Tritanopia (blue-blind)
#AE90AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87bf4;
/* rgb */ color: rgb(184, 123, 244);
/* oklch */ color: oklch(69.5% 0.179 305.5);
Tailwind
colors: {
  custom: {
    50: '#d0a3f8',
    500: '#b87bf4',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf4;
$custom-light: #d0a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf4",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 270.248,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.17913,
    "h": 305.5
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#B87BF4
secondary
#E5F5D6
accent
#E10472
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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