#B87EF7#B87EF7

#B87EF7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.178 H 304.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B87EF7
RGBrgb(184, 126, 247)
HSLhsl(269, 88%, 73%)
HSVhsv(269, 49%, 97%)
CMYKcmyk(25.5%, 49%, 0%, 3.1%)
CIE-LABlab(63.20, 45.45, -52.39)
CIE-LCHlch(63.20, 69.36, 310.94°)
OKLaboklab(70.15% 0.1004 -0.147)
OKLCHoklch(70.15% 0.178 304.3)
XYZxyz(44.0129, 31.8276, 91.8023)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EF7 #BDF77E
analogous
#7E80F7 #B87EF7 #F47EF7
triadic
#B87EF7 #F7B87E #7EF7B8
tetradic
#B87EF7 #F77E80 #BDF77E #7EF7F4
square
#B87EF7 #F77E80 #BDF77E #7EF7F4
split-complementary
#B87EF7 #F7F47E #80F77E
monochromatic
#790FEC #9844F3 #B87EF7 #D8B8FB #EFE2FD

Accessibility & contrast

On white

2.85
#B87EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#B87EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EF7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EF7#FFFFFF#000000##000000
##B87EF71.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#AD93AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87ef7;
/* rgb */ color: rgb(184, 126, 247);
/* oklch */ color: oklch(70.2% 0.178 304.3);
Tailwind
colors: {
  custom: {
    50: '#d0a5fa',
    500: '#b87ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b87ef7;
$custom-light: #d0a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ef7",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 268.76,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.17802,
    "h": 304.3
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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