#B87DF6#B87DF6

#B87DF6 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.178 H 304.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B87DF6
RGBrgb(184, 125, 246)
HSLhsl(269, 87%, 73%)
HSVhsv(269, 49%, 96%)
CMYKcmyk(25.2%, 49.2%, 0%, 3.5%)
CIE-LABlab(62.94, 45.76, -52.26)
CIE-LCHlch(62.94, 69.46, 311.21°)
OKLaboklab(69.94% 0.1016 -0.1466)
OKLCHoklch(69.94% 0.178 304.7)
XYZxyz(43.7318, 31.5116, 90.9494)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DF6 #BBF67D
analogous
#7D7FF6 #B87DF6 #F47DF6
triadic
#B87DF6 #F6B87D #7DF6B8
tetradic
#B87DF6 #F67D7F #BBF67D #7DF6F4
square
#B87DF6 #F67D7F #BBF67D #7DF6F4
split-complementary
#B87DF6 #F6F47D #7FF67D
monochromatic
#7A10E9 #9944F2 #B87DF6 #D7B6FA #EFE2FD

Accessibility & contrast

On white

2.88
#B87DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B87DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DF6
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DF6#FFFFFF#000000##000000
##B87DF61.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#AE92AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87df6;
/* rgb */ color: rgb(184, 125, 246);
/* oklch */ color: oklch(69.9% 0.178 304.7);
Tailwind
colors: {
  custom: {
    50: '#d0a4fa',
    500: '#b87df6',
    950: '#000000',
  },
}
SCSS
$custom: #b87df6;
$custom-light: #d0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b87df6",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 269.256,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69942,
    "c": 0.17838,
    "h": 304.7
  },
  "luminance": 0.31511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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