#B87BF8#B87BF8

#B87BF8 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.184 H 304.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B87BF8
RGBrgb(184, 123, 248)
HSLhsl(269, 90%, 73%)
HSVhsv(269, 50%, 97%)
CMYKcmyk(25.8%, 50.4%, 0%, 2.7%)
CIE-LABlab(62.62, 47.29, -53.86)
CIE-LCHlch(62.62, 71.68, 311.28°)
OKLaboklab(69.74% 0.1044 -0.1513)
OKLCHoklch(69.74% 0.184 304.6)
XYZxyz(43.7898, 31.1338, 92.4912)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF8 #BBF87B
analogous
#7B7CF8 #B87BF8 #F67BF8
triadic
#B87BF8 #F8B87B #7BF8B8
tetradic
#B87BF8 #F87B7C #BBF87B #7BF8F6
square
#B87BF8 #F87B7C #BBF87B #7BF8F6
split-complementary
#B87BF8 #F8F67B #7CF87B
monochromatic
#7A0DEC #9941F5 #B87BF8 #D7B5FB #EFE2FD

Accessibility & contrast

On white

2.91
#B87BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B87BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF8#FFFFFF#000000##000000
##B87BF81.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#AD92AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87bf8;
/* rgb */ color: rgb(184, 123, 248);
/* oklch */ color: oklch(69.7% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0a3fb',
    500: '#b87bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf8;
$custom-light: #d0a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf8",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 269.28,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6974,
    "c": 0.18382,
    "h": 304.6
  },
  "luminance": 0.31134
}

Semantic roles & 50–950 ramp

primary
#B87BF8
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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