#B87AEF#B87AEF

#B87AEF is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.175 H 306.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B87AEF
RGBrgb(184, 122, 239)
HSLhsl(272, 79%, 71%)
HSVhsv(272, 49%, 94%)
CMYKcmyk(23%, 49%, 0%, 6.3%)
CIE-LABlab(61.95, 45.77, -49.96)
CIE-LCHlch(61.95, 67.76, 312.50°)
OKLaboklab(69.09% 0.1049 -0.1399)
OKLCHoklch(69.09% 0.175 306.9)
XYZxyz(42.3035, 30.3418, 85.2726)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AEF #B1EF7A
analogous
#7D7AEF #B87AEF #EF7AEB
triadic
#B87AEF #EFB87A #7AEFB8
tetradic
#B87AEF #EF7D7A #B1EF7A #7AEBEF
square
#B87AEF #EF7D7A #B1EF7A #7AEBEF
split-complementary
#B87AEF #EBEF7A #7AEF7D
monochromatic
#7D1AD5 #9B43E8 #B87AEF #D5B1F6 #F0E4FC

Accessibility & contrast

On white

2.97
#B87AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B87AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AEF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AEF#FFFFFF#000000##000000
##B87AEF1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#B08EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87aef;
/* rgb */ color: rgb(184, 122, 239);
/* oklch */ color: oklch(69.1% 0.175 306.9);
Tailwind
colors: {
  custom: {
    50: '#d0a2f5',
    500: '#b87aef',
    950: '#000000',
  },
}
SCSS
$custom: #b87aef;
$custom-light: #d0a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aef",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 271.795,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.17485,
    "h": 306.9
  },
  "luminance": 0.30341
}

Semantic roles & 50–950 ramp

primary
#B87AEF
secondary
#E1F2D3
accent
#DB0B6D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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