#B87BF7#B87BF7

#B87BF7 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.183 H 304.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B87BF7
RGBrgb(184, 123, 247)
HSLhsl(270, 89%, 73%)
HSVhsv(270, 50%, 97%)
CMYKcmyk(25.5%, 50.2%, 0%, 3.1%)
CIE-LABlab(62.57, 47.06, -53.39)
CIE-LCHlch(62.57, 71.17, 311.39°)
OKLaboklab(69.68% 0.1043 -0.1499)
OKLCHoklch(69.68% 0.183 304.8)
XYZxyz(43.6350, 31.0719, 91.6764)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF7 #BAF77B
analogous
#7B7CF7 #B87BF7 #F67BF7
triadic
#B87BF7 #F7B87B #7BF7B8
tetradic
#B87BF7 #F77B7C #BAF77B #7BF7F6
square
#B87BF7 #F77B7C #BAF77B #7BF7F6
split-complementary
#B87BF7 #F7F67B #7CF77B
monochromatic
#7A0EE9 #9941F4 #B87BF7 #D7B5FA #EFE2FD

Accessibility & contrast

On white

2.91
#B87BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B87BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF7#FFFFFF#000000##000000
##B87BF71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6797F4
Tritanopia (blue-blind)
#AD91AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87bf7;
/* rgb */ color: rgb(184, 123, 247);
/* oklch */ color: oklch(69.7% 0.183 304.8);
Tailwind
colors: {
  custom: {
    50: '#d0a3fa',
    500: '#b87bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf7;
$custom-light: #d0a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf7",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 269.516,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.18265,
    "h": 304.8
  },
  "luminance": 0.31072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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