#B87CF5#B87CF5

#B87CF5 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.179 H 305.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B87CF5
RGBrgb(184, 124, 245)
HSLhsl(270, 86%, 72%)
HSVhsv(270, 49%, 96%)
CMYKcmyk(24.9%, 49.4%, 0%, 3.9%)
CIE-LABlab(62.67, 46.06, -52.12)
CIE-LCHlch(62.67, 69.56, 311.47°)
OKLaboklab(69.73% 0.1029 -0.1462)
OKLCHoklch(69.73% 0.179 305.1)
XYZxyz(43.4528, 31.1985, 90.1012)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CF5 #B9F57C
analogous
#7C7DF5 #B87CF5 #F57CF5
triadic
#B87CF5 #F5B87C #7CF5B8
tetradic
#B87CF5 #F57C7D #B9F57C #7CF5F5
square
#B87CF5 #F57C7D #B9F57C #7CF5F5
split-complementary
#B87CF5 #F5F57C #7DF57C
monochromatic
#7A11E5 #9943F1 #B87CF5 #D7B5F9 #F0E3FD

Accessibility & contrast

On white

2.90
#B87CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B87CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87CF5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CF5#FFFFFF#000000##000000
##B87CF51.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#AE91AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87cf5;
/* rgb */ color: rgb(184, 124, 245);
/* oklch */ color: oklch(69.7% 0.179 305.1);
Tailwind
colors: {
  custom: {
    50: '#d0a3f9',
    500: '#b87cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b87cf5;
$custom-light: #d0a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cf5",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 269.752,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6973,
    "c": 0.17876,
    "h": 305.1
  },
  "luminance": 0.31198
}

Semantic roles & 50–950 ramp

primary
#B87CF5
secondary
#E6F5D6
accent
#E20374
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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