#B87AEB#B87AEB

#B87AEB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.9% C 0.170 H 307.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B87AEB
RGBrgb(184, 122, 235)
HSLhsl(273, 74%, 70%)
HSVhsv(273, 48%, 92%)
CMYKcmyk(21.7%, 48.1%, 0%, 7.8%)
CIE-LABlab(61.75, 44.87, -48.06)
CIE-LCHlch(61.75, 65.75, 313.03°)
OKLaboklab(68.88% 0.1045 -0.1344)
OKLCHoklch(68.88% 0.17 307.9)
XYZxyz(41.7191, 30.1081, 82.1948)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AEB #ADEB7A
analogous
#7F7AEB #B87AEB #EB7AE6
triadic
#B87AEB #EBB87A #7AEBB8
tetradic
#B87AEB #EB7F7A #ADEB7A #7AE6EB
square
#B87AEB #EB7F7A #ADEB7A #7AE6EB
split-complementary
#B87AEB #E6EB7A #7AEB7F
monochromatic
#7E1FCC #9C45E3 #B87AEB #D4AFF3 #F1E4FB

Accessibility & contrast

On white

2.99
#B87AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B87AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AEB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AEB#FFFFFF#000000##000000
##B87AEB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#B18DA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87aeb;
/* rgb */ color: rgb(184, 122, 235);
/* oklch */ color: oklch(68.9% 0.170 307.9);
Tailwind
colors: {
  custom: {
    50: '#cfa2f2',
    500: '#b87aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b87aeb;
$custom-light: #cfa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aeb",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 272.92,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.68876,
    "c": 0.17018,
    "h": 307.9
  },
  "luminance": 0.30108
}

Semantic roles & 50–950 ramp

primary
#B87AEB
secondary
#DFF0D1
accent
#D61069
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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