#B87BF0#B87BF0

#B87BF0 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.174 H 306.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B87BF0
RGBrgb(184, 123, 240)
HSLhsl(271, 80%, 71%)
HSVhsv(271, 49%, 94%)
CMYKcmyk(23.3%, 48.7%, 0%, 5.9%)
CIE-LABlab(62.21, 45.46, -50.10)
CIE-LCHlch(62.21, 67.65, 312.22°)
OKLaboklab(69.3% 0.1037 -0.1403)
OKLCHoklch(69.3% 0.174 306.5)
XYZxyz(42.5751, 30.6479, 86.0939)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF0 #B3F07B
analogous
#7D7BF0 #B87BF0 #F07BED
triadic
#B87BF0 #F0B87B #7BF0B8
tetradic
#B87BF0 #F07D7B #B3F07B #7BEDF0
square
#B87BF0 #F07D7B #B3F07B #7BEDF0
split-complementary
#B87BF0 #EDF07B #7BF07D
monochromatic
#7C19D8 #9A44EA #B87BF0 #D6B2F6 #F0E4FC

Accessibility & contrast

On white

2.95
#B87BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B87BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF0
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF0#FFFFFF#000000##000000
##B87BF01.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F4
Deuteranopia (green-blind)
#6B97ED
Tritanopia (blue-blind)
#AF8FAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87bf0;
/* rgb */ color: rgb(184, 123, 240);
/* oklch */ color: oklch(69.3% 0.174 306.5);
Tailwind
colors: {
  custom: {
    50: '#d0a3f5',
    500: '#b87bf0',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf0;
$custom-light: #d0a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf0",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 271.282,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69301,
    "c": 0.17445,
    "h": 306.5
  },
  "luminance": 0.30648
}

Semantic roles & 50–950 ramp

primary
#B87BF0
secondary
#E3F3D4
accent
#DC0A6E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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