#B87FEE#B87FEE

#B87FEE is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.8% C 0.166 H 306.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B87FEE
RGBrgb(184, 127, 238)
HSLhsl(271, 77%, 72%)
HSVhsv(271, 47%, 93%)
CMYKcmyk(22.7%, 46.6%, 0%, 6.7%)
CIE-LABlab(62.96, 42.84, -47.80)
CIE-LCHlch(62.96, 64.19, 311.87°)
OKLaboklab(69.83% 0.0981 -0.1336)
OKLCHoklch(69.83% 0.166 306.3)
XYZxyz(42.7860, 31.5425, 84.7066)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FEE #B5EE7F
analogous
#817FEE #B87FEE #EE7FED
triadic
#B87FEE #EEB87F #7FEEB8
tetradic
#B87FEE #EE817F #B5EE7F #7FEDEE
square
#B87FEE #EE817F #B5EE7F #7FEDEE
split-complementary
#B87FEE #EDEE7F #7FEE81
monochromatic
#7C1CD6 #9A49E7 #B87FEE #D6B5F5 #F0E4FB

Accessibility & contrast

On white

2.87
#B87FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B87FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FEE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FEE#FFFFFF#000000##000000
##B87FEE1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#B092AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87fee;
/* rgb */ color: rgb(184, 127, 238);
/* oklch */ color: oklch(69.8% 0.166 306.3);
Tailwind
colors: {
  custom: {
    50: '#cfa5f4',
    500: '#b87fee',
    950: '#000000',
  },
}
SCSS
$custom: #b87fee;
$custom-light: #cfa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fee",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 270.811,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.16575,
    "h": 306.3
  },
  "luminance": 0.31542
}

Semantic roles & 50–950 ramp

primary
#B87FEE
secondary
#E4F3D6
accent
#D90D70
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B87FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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