#B87AF7#B87AF7

#B87AF7 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.184 H 305.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B87AF7
RGBrgb(184, 122, 247)
HSLhsl(270, 89%, 72%)
HSVhsv(270, 51%, 97%)
CMYKcmyk(25.5%, 50.6%, 0%, 3.1%)
CIE-LABlab(62.36, 47.60, -53.72)
CIE-LCHlch(62.36, 71.77, 311.54°)
OKLaboklab(69.53% 0.1056 -0.1509)
OKLCHoklch(69.53% 0.184 305)
XYZxyz(43.5116, 30.8251, 91.6352)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AF7 #B9F77A
analogous
#7A7BF7 #B87AF7 #F67AF7
triadic
#B87AF7 #F7B87A #7AF7B8
tetradic
#B87AF7 #F77A7B #B9F77A #7AF7F6
square
#B87AF7 #F77A7B #B9F77A #7AF7F6
split-complementary
#B87AF7 #F7F67A #7BF77A
monochromatic
#7A0EE9 #9940F4 #B87AF7 #D7B4FA #F0E2FD

Accessibility & contrast

On white

2.93
#B87AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B87AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AF7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AF7#FFFFFF#000000##000000
##B87AF71.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#AE90AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87af7;
/* rgb */ color: rgb(184, 122, 247);
/* oklch */ color: oklch(69.5% 0.184 305.0);
Tailwind
colors: {
  custom: {
    50: '#d0a2fa',
    500: '#b87af7',
    950: '#000000',
  },
}
SCSS
$custom: #b87af7;
$custom-light: #d0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b87af7",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 269.76,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6953,
    "c": 0.18419,
    "h": 305
  },
  "luminance": 0.30825
}

Semantic roles & 50–950 ramp

primary
#B87AF7
secondary
#E6F5D6
accent
#E50074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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