#B87AEA#B87AEA

#B87AEA is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.169 H 308.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B87AEA
RGBrgb(184, 122, 234)
HSLhsl(273, 73%, 70%)
HSVhsv(273, 48%, 92%)
CMYKcmyk(21.4%, 47.9%, 0%, 8.2%)
CIE-LABlab(61.70, 44.65, -47.58)
CIE-LCHlch(61.70, 65.25, 313.18°)
OKLaboklab(68.82% 0.1043 -0.133)
OKLCHoklch(68.82% 0.169 308.1)
XYZxyz(41.5751, 30.0504, 81.4361)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AEA #ACEA7A
analogous
#807AEA #B87AEA #EA7AE4
triadic
#B87AEA #EAB87A #7AEAB8
tetradic
#B87AEA #EA807A #ACEA7A #7AE4EA
square
#B87AEA #EA807A #ACEA7A #7AE4EA
split-complementary
#B87AEA #E4EA7A #7AEA80
monochromatic
#7E20CA #9C45E2 #B87AEA #D4AFF2 #F0E4FB

Accessibility & contrast

On white

3.00
#B87AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B87AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AEA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AEA#FFFFFF#000000##000000
##B87AEA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#B18DA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87aea;
/* rgb */ color: rgb(184, 122, 234);
/* oklch */ color: oklch(68.8% 0.169 308.1);
Tailwind
colors: {
  custom: {
    50: '#cfa2f1',
    500: '#b87aea',
    950: '#000000',
  },
}
SCSS
$custom: #b87aea;
$custom-light: #cfa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aea",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 273.214,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68823,
    "c": 0.16902,
    "h": 308.1
  },
  "luminance": 0.3005
}

Semantic roles & 50–950 ramp

primary
#B87AEA
secondary
#DEF0D0
accent
#D51168
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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