#B87EFF#B87EFF

#B87EFF is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.6% C 0.188 H 302.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B87EFF
RGBrgb(184, 126, 255)
HSLhsl(267, 100%, 75%)
HSVhsv(267, 51%, 100%)
CMYKcmyk(27.8%, 50.6%, 0%, 0%)
CIE-LABlab(63.62, 47.31, -56.12)
CIE-LCHlch(63.62, 73.41, 310.13°)
OKLaboklab(70.6% 0.1011 -0.1579)
OKLCHoklch(70.6% 0.188 302.6)
XYZxyz(45.2740, 32.3321, 98.4439)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EFF #C5FF7E
analogous
#7E85FF #B87EFF #F97EFF
triadic
#B87EFF #FFB87E #7EFFB8
tetradic
#B87EFF #FF7E85 #C5FF7E #7EFFF9
square
#B87EFF #FF7E85 #C5FF7E #7EFFF9
split-complementary
#B87EFF #FFF97E #85FF7E
monochromatic
#7504FF #9641FF #B87EFF #DABBFF #EEE0FF

Accessibility & contrast

On white

2.81
#B87EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B87EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EFF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EFF#FFFFFF#000000##000000
##B87EFF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#AB96B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87eff;
/* rgb */ color: rgb(184, 126, 255);
/* oklch */ color: oklch(70.6% 0.188 302.6);
Tailwind
colors: {
  custom: {
    50: '#d0a5ff',
    500: '#b87eff',
    950: '#000000',
  },
}
SCSS
$custom: #b87eff;
$custom-light: #d0a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87eff",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 266.977,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70598,
    "c": 0.18751,
    "h": 302.6
  },
  "luminance": 0.32332
}

Semantic roles & 50–950 ramp

primary
#B87EFF
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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