#B87FF5#B87FF5

#B87FF5 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.174 H 304.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B87FF5
RGBrgb(184, 127, 245)
HSLhsl(269, 86%, 73%)
HSVhsv(269, 48%, 96%)
CMYKcmyk(24.9%, 48.2%, 0%, 3.9%)
CIE-LABlab(63.31, 44.44, -51.11)
CIE-LCHlch(63.31, 67.73, 311.01°)
OKLaboklab(70.2% 0.0989 -0.1433)
OKLCHoklch(70.2% 0.174 304.6)
XYZxyz(43.8345, 31.9619, 90.2285)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FF5 #BCF57F
analogous
#7F81F5 #B87FF5 #F37FF5
triadic
#B87FF5 #F5B87F #7FF5B8
tetradic
#B87FF5 #F57F81 #BCF57F #7FF5F3
square
#B87FF5 #F57F81 #BCF57F #7FF5F3
split-complementary
#B87FF5 #F5F37F #81F57F
monochromatic
#7912E8 #9946F1 #B87FF5 #D7B8F9 #EFE3FD

Accessibility & contrast

On white

2.84
#B87FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#B87FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FF5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FF5#FFFFFF#000000##000000
##B87FF51.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#AE94AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87ff5;
/* rgb */ color: rgb(184, 127, 245);
/* oklch */ color: oklch(70.2% 0.174 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0a5f9',
    500: '#b87ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b87ff5;
$custom-light: #d0a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ff5",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 268.983,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70204,
    "c": 0.17408,
    "h": 304.6
  },
  "luminance": 0.31962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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