#B87FEB#B87FEB

#B87FEB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.162 H 307.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B87FEB
RGBrgb(184, 127, 235)
HSLhsl(272, 73%, 71%)
HSVhsv(272, 46%, 92%)
CMYKcmyk(21.7%, 46%, 0%, 7.8%)
CIE-LABlab(62.82, 42.16, -46.37)
CIE-LCHlch(62.82, 62.67, 312.28°)
OKLaboklab(69.67% 0.0977 -0.1295)
OKLCHoklch(69.67% 0.162 307)
XYZxyz(42.3489, 31.3677, 82.4047)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FEB #B2EB7F
analogous
#827FEB #B87FEB #EB7FE8
triadic
#B87FEB #EBB87F #7FEBB8
tetradic
#B87FEB #EB827F #B2EB7F #7FE8EB
square
#B87FEB #EB827F #B2EB7F #7FE8EB
split-complementary
#B87FEB #E8EB7F #7FEB82
monochromatic
#7D20CF #9B4AE3 #B87FEB #D5B4F3 #F0E5FB

Accessibility & contrast

On white

2.89
#B87FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B87FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FEB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FEB#FFFFFF#000000##000000
##B87FEB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#7299E8
Tritanopia (blue-blind)
#B191AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87feb;
/* rgb */ color: rgb(184, 127, 235);
/* oklch */ color: oklch(69.7% 0.162 307.0);
Tailwind
colors: {
  custom: {
    50: '#cfa5f2',
    500: '#b87feb',
    950: '#000000',
  },
}
SCSS
$custom: #b87feb;
$custom-light: #cfa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87feb",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 271.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69674,
    "c": 0.16218,
    "h": 307
  },
  "luminance": 0.31367
}

Semantic roles & 50–950 ramp

primary
#B87FEB
secondary
#E2F1D5
accent
#D5106D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B87FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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