#B87AF9#B87AF9

#B87AF9 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.187 H 304.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B87AF9
RGBrgb(184, 122, 249)
HSLhsl(269, 91%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26.1%, 51%, 0%, 2.4%)
CIE-LABlab(62.46, 48.06, -54.66)
CIE-LCHlch(62.46, 72.78, 311.32°)
OKLaboklab(69.64% 0.1058 -0.1536)
OKLCHoklch(69.64% 0.187 304.6)
XYZxyz(43.8219, 30.9492, 93.2693)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87AF9 #BBF97A
analogous
#7A7CF9 #B87AF9 #F77AF9
triadic
#B87AF9 #F9B87A #7AF9B8
tetradic
#B87AF9 #F97A7C #BBF97A #7AF9F7
square
#B87AF9 #F97A7C #BBF97A #7AF9F7
split-complementary
#B87AF9 #F9F77A #7CF97A
monochromatic
#7A0BEE #993FF6 #B87AF9 #D7B5FC #EFE2FE

Accessibility & contrast

On white

2.92
#B87AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B87AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87AF9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87AF9#FFFFFF#000000##000000
##B87AF91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#AD91AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87af9;
/* rgb */ color: rgb(184, 122, 249);
/* oklch */ color: oklch(69.6% 0.187 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0a2fc',
    500: '#b87af9',
    950: '#000000',
  },
}
SCSS
$custom: #b87af9;
$custom-light: #d0a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87af9",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 269.291,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.18652,
    "h": 304.6
  },
  "luminance": 0.30949
}

Semantic roles & 50–950 ramp

primary
#B87AF9
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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