#B87BF9#B87BF9

#B87BF9 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.185 H 304.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B87BF9
RGBrgb(184, 123, 249)
HSLhsl(269, 91%, 73%)
HSVhsv(269, 51%, 98%)
CMYKcmyk(26.1%, 50.6%, 0%, 2.4%)
CIE-LABlab(62.67, 47.52, -54.33)
CIE-LCHlch(62.67, 72.18, 311.18°)
OKLaboklab(69.8% 0.1045 -0.1526)
OKLCHoklch(69.8% 0.185 304.4)
XYZxyz(43.9453, 31.1960, 93.3105)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF9 #BCF97B
analogous
#7B7DF9 #B87BF9 #F77BF9
triadic
#B87BF9 #F9B87B #7BF9B8
tetradic
#B87BF9 #F97B7D #BCF97B #7BF9F7
square
#B87BF9 #F97B7D #BCF97B #7BF9F7
split-complementary
#B87BF9 #F9F77B #7DF97B
monochromatic
#790BEF #9940F6 #B87BF9 #D7B6FC #EFE2FE

Accessibility & contrast

On white

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

On black

7.24
#B87BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF9#FFFFFF#000000##000000
##B87BF91.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#AD92AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87bf9;
/* rgb */ color: rgb(184, 123, 249);
/* oklch */ color: oklch(69.8% 0.185 304.4);
Tailwind
colors: {
  custom: {
    50: '#d0a3fc',
    500: '#b87bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf9;
$custom-light: #d0a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf9",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 269.048,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69796,
    "c": 0.185,
    "h": 304.4
  },
  "luminance": 0.31196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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