#B87FFE#B87FFE

#B87FFE is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.185 H 302.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B87FFE
RGBrgb(184, 127, 254)
HSLhsl(267, 98%, 75%)
HSVhsv(267, 50%, 100%)
CMYKcmyk(27.6%, 50%, 0%, 0.4%)
CIE-LABlab(63.77, 46.54, -55.32)
CIE-LCHlch(63.77, 72.30, 310.07°)
OKLaboklab(70.7% 0.0998 -0.1556)
OKLCHoklch(70.7% 0.185 302.7)
XYZxyz(45.2419, 32.5249, 97.6412)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FFE #C5FE7F
analogous
#7F86FE #B87FFE #F77FFE
triadic
#B87FFE #FEB87F #7FFEB8
tetradic
#B87FFE #FE7F86 #C5FE7F #7FFEF7
square
#B87FFE #FE7F86 #C5FE7F #7FFEF7
split-complementary
#B87FFE #FEF77F #86FE7F
monochromatic
#7506FD #9642FE #B87FFE #DABCFE #EEE1FF

Accessibility & contrast

On white

2.80
#B87FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B87FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FFE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FFE#FFFFFF#000000##000000
##B87FFE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#AB96B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ffe;
/* rgb */ color: rgb(184, 127, 254);
/* oklch */ color: oklch(70.7% 0.185 302.7);
Tailwind
colors: {
  custom: {
    50: '#d0a5ff',
    500: '#b87ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b87ffe;
$custom-light: #d0a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ffe",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 266.929,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.18481,
    "h": 302.7
  },
  "luminance": 0.32525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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