#B87AF8#B87AF8

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

Color values

HEX#B87AF8
RGBrgb(184, 122, 248)
HSLhsl(270, 90%, 73%)
HSVhsv(270, 51%, 97%)
CMYKcmyk(25.8%, 50.8%, 0%, 2.7%)
CIE-LABlab(62.41, 47.83, -54.19)
CIE-LCHlch(62.41, 72.28, 311.43°)
OKLaboklab(69.59% 0.1057 -0.1522)
OKLCHoklch(69.59% 0.185 304.8)
XYZxyz(43.6663, 30.8869, 92.4501)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AF8 #BAF87A
analogous
#7A7BF8 #B87AF8 #F77AF8
triadic
#B87AF8 #F8B87A #7AF8B8
tetradic
#B87AF8 #F87A7B #BAF87A #7AF8F7
square
#B87AF8 #F87A7B #BAF87A #7AF8F7
split-complementary
#B87AF8 #F8F77A #7BF87A
monochromatic
#7A0CEB #9940F5 #B87AF8 #D7B4FB #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B87AF8#FFFFFF#000000##000000
##B87AF81.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)
#5395FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#AD91AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87af8;
/* rgb */ color: rgb(184, 122, 248);
/* oklch */ color: oklch(69.6% 0.185 304.8);
Tailwind
colors: {
  custom: {
    50: '#d0a2fb',
    500: '#b87af8',
    950: '#000000',
  },
}
SCSS
$custom: #b87af8;
$custom-light: #d0a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b87af8",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 269.524,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69586,
    "c": 0.18535,
    "h": 304.8
  },
  "luminance": 0.30887
}

Semantic roles & 50–950 ramp

primary
#B87AF8
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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