#B87AEC#B87AEC

#B87AEC is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.171 H 307.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B87AEC
RGBrgb(184, 122, 236)
HSLhsl(273, 75%, 70%)
HSVhsv(273, 48%, 93%)
CMYKcmyk(22%, 48.3%, 0%, 7.5%)
CIE-LABlab(61.80, 45.09, -48.53)
CIE-LCHlch(61.80, 66.25, 312.90°)
OKLaboklab(68.93% 0.1046 -0.1357)
OKLCHoklch(68.93% 0.171 307.6)
XYZxyz(41.8640, 30.1660, 82.9578)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AEC #AEEC7A
analogous
#7F7AEC #B87AEC #EC7AE7
triadic
#B87AEC #ECB87A #7AECB8
tetradic
#B87AEC #EC7F7A #AEEC7A #7AE7EC
square
#B87AEC #EC7F7A #AEEC7A #7AE7EC
split-complementary
#B87AEC #E7EC7A #7AEC7F
monochromatic
#7E1DCE #9B44E4 #B87AEC #D5B0F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.03
#B87AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AEC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AEC#FFFFFF#000000##000000
##B87AEC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b87aec;
/* rgb */ color: rgb(184, 122, 236);
/* oklch */ color: oklch(68.9% 0.171 307.6);
Tailwind
colors: {
  custom: {
    50: '#d0a2f2',
    500: '#b87aec',
    950: '#000000',
  },
}
SCSS
$custom: #b87aec;
$custom-light: #d0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aec",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 272.632,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68929,
    "c": 0.17135,
    "h": 307.6
  },
  "luminance": 0.30166
}

Semantic roles & 50–950 ramp

primary
#B87AEC
secondary
#E0F1D1
accent
#D70E6A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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