#B87AEE#B87AEE

#B87AEE is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.174 H 307.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B87AEE
RGBrgb(184, 122, 238)
HSLhsl(272, 77%, 71%)
HSVhsv(272, 49%, 93%)
CMYKcmyk(22.7%, 48.7%, 0%, 6.7%)
CIE-LABlab(61.90, 45.54, -49.48)
CIE-LCHlch(61.90, 67.25, 312.63°)
OKLaboklab(69.04% 0.1048 -0.1385)
OKLCHoklch(69.04% 0.174 307.1)
XYZxyz(42.1562, 30.2829, 84.4967)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AEE #B0EE7A
analogous
#7E7AEE #B87AEE #EE7AEA
triadic
#B87AEE #EEB87A #7AEEB8
tetradic
#B87AEE #EE7E7A #B0EE7A #7AEAEE
square
#B87AEE #EE7E7A #B0EE7A #7AEAEE
split-complementary
#B87AEE #EAEE7A #7AEE7E
monochromatic
#7D1BD3 #9B44E7 #B87AEE #D5B0F5 #F1E4FC

Accessibility & contrast

On white

2.98
#B87AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B87AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AEE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AEE#FFFFFF#000000##000000
##B87AEE1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#B08EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87aee;
/* rgb */ color: rgb(184, 122, 238);
/* oklch */ color: oklch(69.0% 0.174 307.1);
Tailwind
colors: {
  custom: {
    50: '#d0a2f4',
    500: '#b87aee',
    950: '#000000',
  },
}
SCSS
$custom: #b87aee;
$custom-light: #d0a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aee",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 272.069,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69036,
    "c": 0.17368,
    "h": 307.1
  },
  "luminance": 0.30282
}

Semantic roles & 50–950 ramp

primary
#B87AEE
secondary
#E1F2D2
accent
#DA0C6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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