#B87AED#B87AED

#B87AED is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.173 H 307.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B87AED
RGBrgb(184, 122, 237)
HSLhsl(272, 76%, 70%)
HSVhsv(272, 49%, 93%)
CMYKcmyk(22.4%, 48.5%, 0%, 7.1%)
CIE-LABlab(61.85, 45.32, -49.01)
CIE-LCHlch(61.85, 66.75, 312.76°)
OKLaboklab(68.98% 0.1047 -0.1371)
OKLCHoklch(68.98% 0.173 307.4)
XYZxyz(42.0097, 30.2243, 83.7251)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AED #AFED7A
analogous
#7E7AED #B87AED #ED7AE8
triadic
#B87AED #EDB87A #7AEDB8
tetradic
#B87AED #ED7E7A #AFED7A #7AE8ED
square
#B87AED #ED7E7A #AFED7A #7AE8ED
split-complementary
#B87AED #E8ED7A #7AED7E
monochromatic
#7D1CD0 #9B44E6 #B87AED #D5B0F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.04
#B87AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AED
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AED#FFFFFF#000000##000000
##B87AED1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#B08EA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87aed;
/* rgb */ color: rgb(184, 122, 237);
/* oklch */ color: oklch(69.0% 0.173 307.4);
Tailwind
colors: {
  custom: {
    50: '#d0a2f3',
    500: '#b87aed',
    950: '#000000',
  },
}
SCSS
$custom: #b87aed;
$custom-light: #d0a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aed",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 272.348,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68983,
    "c": 0.17252,
    "h": 307.4
  },
  "luminance": 0.30224
}

Semantic roles & 50–950 ramp

primary
#B87AED
secondary
#E0F1D2
accent
#D80D6B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AED

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

Preview Lab → · Contrast checker → · Palette generator →

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