#B87FEF#B87FEF

#B87FEF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.167 H 306.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B87FEF
RGBrgb(184, 127, 239)
HSLhsl(271, 78%, 72%)
HSVhsv(271, 47%, 94%)
CMYKcmyk(23%, 46.9%, 0%, 6.3%)
CIE-LABlab(63.01, 43.07, -48.27)
CIE-LCHlch(63.01, 64.69, 311.74°)
OKLaboklab(69.88% 0.0982 -0.135)
OKLCHoklch(69.88% 0.167 306)
XYZxyz(42.9333, 31.6014, 85.4825)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FEF #B6EF7F
analogous
#807FEF #B87FEF #EF7FEE
triadic
#B87FEF #EFB87F #7FEFB8
tetradic
#B87FEF #EF807F #B6EF7F #7FEEEF
square
#B87FEF #EF807F #B6EF7F #7FEEEF
split-complementary
#B87FEF #EEEF7F #7FEF80
monochromatic
#7B1BD9 #9A49E8 #B87FEF #D6B5F6 #F0E4FC

Accessibility & contrast

On white

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

On black

7.32
#B87FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FEF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FEF#FFFFFF#000000##000000
##B87FEF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#AF92AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87fef;
/* rgb */ color: rgb(184, 127, 239);
/* oklch */ color: oklch(69.9% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#cfa5f5',
    500: '#b87fef',
    950: '#000000',
  },
}
SCSS
$custom: #b87fef;
$custom-light: #cfa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fef",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 270.536,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69883,
    "c": 0.16694,
    "h": 306
  },
  "luminance": 0.31601
}

Semantic roles & 50–950 ramp

primary
#B87FEF
secondary
#E5F3D7
accent
#DA0B71
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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