#B87BFA#B87BFA

#B87BFA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.186 H 304.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B87BFA
RGBrgb(184, 123, 250)
HSLhsl(269, 93%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26.4%, 50.8%, 0%, 2%)
CIE-LABlab(62.73, 47.75, -54.79)
CIE-LCHlch(62.73, 72.68, 311.07°)
OKLaboklab(69.85% 0.1046 -0.154)
OKLCHoklch(69.85% 0.186 304.2)
XYZxyz(44.1017, 31.2585, 94.1341)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BFA #BDFA7B
analogous
#7B7DFA #B87BFA #F87BFA
triadic
#B87BFA #FAB87B #7BFAB8
tetradic
#B87BFA #FA7B7D #BDFA7B #7BFAF8
square
#B87BFA #FA7B7D #BDFA7B #7BFAF8
split-complementary
#B87BFA #FAF87B #7DFA7B
monochromatic
#7909F1 #9840F8 #B87BFA #D8B6FC #EFE2FE

Accessibility & contrast

On white

2.90
#B87BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B87BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BFA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BFA#FFFFFF#000000##000000
##B87BFA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#AD92AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87bfa;
/* rgb */ color: rgb(184, 123, 250);
/* oklch */ color: oklch(69.9% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#d0a3fc',
    500: '#b87bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b87bfa;
$custom-light: #d0a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bfa",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 268.819,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69852,
    "c": 0.18617,
    "h": 304.2
  },
  "luminance": 0.31258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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