#B87BFB#B87BFB

#B87BFB is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.187 H 304.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B87BFB
RGBrgb(184, 123, 251)
HSLhsl(269, 94%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26.7%, 51%, 0%, 1.6%)
CIE-LABlab(62.78, 47.99, -55.26)
CIE-LCHlch(62.78, 73.19, 310.97°)
OKLaboklab(69.91% 0.1047 -0.1554)
OKLCHoklch(69.91% 0.187 304)
XYZxyz(44.2589, 31.3214, 94.9621)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BFB #BEFB7B
analogous
#7B7EFB #B87BFB #F87BFB
triadic
#B87BFB #FBB87B #7BFBB8
tetradic
#B87BFB #FB7B7E #BEFB7B #7BFBF8
square
#B87BFB #FB7B7E #BEFB7B #7BFBF8
split-complementary
#B87BFB #FBF87B #7EFB7B
monochromatic
#7807F4 #9840F9 #B87BFB #D8B6FD #EFE1FE

Accessibility & contrast

On white

2.89
#B87BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B87BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BFB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BFB#FFFFFF#000000##000000
##B87BFB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#AC92B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87bfb;
/* rgb */ color: rgb(184, 123, 251);
/* oklch */ color: oklch(69.9% 0.187 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0a3fd',
    500: '#b87bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b87bfb;
$custom-light: #d0a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bfb",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 268.594,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69908,
    "c": 0.18734,
    "h": 304
  },
  "luminance": 0.31321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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