#B87FED#B87FED

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

Color values

HEX#B87FED
RGBrgb(184, 127, 237)
HSLhsl(271, 75%, 71%)
HSVhsv(271, 46%, 93%)
CMYKcmyk(22.4%, 46.4%, 0%, 7.1%)
CIE-LABlab(62.91, 42.61, -47.32)
CIE-LCHlch(62.91, 63.68, 312.00°)
OKLaboklab(69.78% 0.0979 -0.1322)
OKLCHoklch(69.78% 0.165 306.5)
XYZxyz(42.6395, 31.4839, 83.9350)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FED #B4ED7F
analogous
#817FED #B87FED #ED7FEB
triadic
#B87FED #EDB87F #7FEDB8
tetradic
#B87FED #ED817F #B4ED7F #7FEBED
square
#B87FED #ED817F #B4ED7F #7FEBED
split-complementary
#B87FED #EBED7F #7FED81
monochromatic
#7C1ED4 #9A49E5 #B87FED #D6B5F5 #F0E4FB

Accessibility & contrast

On white

2.88
#B87FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B87FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FED
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FED#FFFFFF#000000##000000
##B87FED1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#B091AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87fed;
/* rgb */ color: rgb(184, 127, 237);
/* oklch */ color: oklch(69.8% 0.165 306.5);
Tailwind
colors: {
  custom: {
    50: '#cfa5f3',
    500: '#b87fed',
    950: '#000000',
  },
}
SCSS
$custom: #b87fed;
$custom-light: #cfa5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fed",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 271.091,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69778,
    "c": 0.16456,
    "h": 306.5
  },
  "luminance": 0.31484
}

Semantic roles & 50–950 ramp

primary
#B87FED
secondary
#E3F2D6
accent
#D80E6F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B87FED

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

Preview Lab → · Contrast checker → · Palette generator →

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