#B87AFB#B87AFB

#B87AFB is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.189 H 304.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B87AFB
RGBrgb(184, 122, 251)
HSLhsl(269, 94%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26.7%, 51.4%, 0%, 1.6%)
CIE-LABlab(62.57, 48.52, -55.59)
CIE-LCHlch(62.57, 73.79, 311.11°)
OKLaboklab(69.75% 0.106 -0.1563)
OKLCHoklch(69.75% 0.189 304.1)
XYZxyz(44.1355, 31.0746, 94.9209)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AFB #BDFB7A
analogous
#7A7CFB #B87AFB #F87AFB
triadic
#B87AFB #FBB87A #7AFBB8
tetradic
#B87AFB #FB7A7C #BDFB7A #7AFBF8
square
#B87AFB #FB7A7C #BDFB7A #7AFBF8
split-complementary
#B87AFB #FBF87A #7CFB7A
monochromatic
#7907F3 #983FF9 #B87AFB #D8B5FD #EFE1FE

Accessibility & contrast

On white

2.91
#B87AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B87AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AFB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AFB#FFFFFF#000000##000000
##B87AFB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6397F8
Tritanopia (blue-blind)
#AC92AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87afb;
/* rgb */ color: rgb(184, 122, 251);
/* oklch */ color: oklch(69.8% 0.189 304.1);
Tailwind
colors: {
  custom: {
    50: '#d0a2fd',
    500: '#b87afb',
    950: '#000000',
  },
}
SCSS
$custom: #b87afb;
$custom-light: #d0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b87afb",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 268.837,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69754,
    "c": 0.18885,
    "h": 304.1
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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