#B87FF8#B87FF8

#B87FF8 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.178 H 303.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B87FF8
RGBrgb(184, 127, 248)
HSLhsl(268, 90%, 74%)
HSVhsv(268, 49%, 97%)
CMYKcmyk(25.8%, 48.8%, 0%, 2.7%)
CIE-LABlab(63.46, 45.14, -52.52)
CIE-LCHlch(63.46, 69.25, 310.68°)
OKLaboklab(70.37% 0.0992 -0.1474)
OKLCHoklch(70.37% 0.178 303.9)
XYZxyz(44.2961, 32.1465, 92.6600)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FF8 #BFF87F
analogous
#7F82F8 #B87FF8 #F47FF8
triadic
#B87FF8 #F8B87F #7FF8B8
tetradic
#B87FF8 #F87F82 #BFF87F #7FF8F4
square
#B87FF8 #F87F82 #BFF87F #7FF8F4
split-complementary
#B87FF8 #F8F47F #82F87F
monochromatic
#780DF0 #9845F5 #B87FF8 #D8B9FB #EFE2FD

Accessibility & contrast

On white

2.83
#B87FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B87FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FF8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FF8#FFFFFF#000000##000000
##B87FF81.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#AD95B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ff8;
/* rgb */ color: rgb(184, 127, 248);
/* oklch */ color: oklch(70.4% 0.178 303.9);
Tailwind
colors: {
  custom: {
    50: '#d0a5fb',
    500: '#b87ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b87ff8;
$custom-light: #d0a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ff8",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 268.264,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.17766,
    "h": 303.9
  },
  "luminance": 0.32146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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