#B87BF3#B87BF3

#B87BF3 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.178 H 305.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B87BF3
RGBrgb(184, 123, 243)
HSLhsl(271, 83%, 72%)
HSVhsv(271, 49%, 95%)
CMYKcmyk(24.3%, 49.4%, 0%, 4.7%)
CIE-LABlab(62.36, 46.14, -51.51)
CIE-LCHlch(62.36, 69.16, 311.85°)
OKLaboklab(69.46% 0.104 -0.1444)
OKLCHoklch(69.46% 0.178 305.7)
XYZxyz(43.0244, 30.8276, 88.4604)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF3 #B6F37B
analogous
#7C7BF3 #B87BF3 #F37BF2
triadic
#B87BF3 #F3B87B #7BF3B8
tetradic
#B87BF3 #F37C7B #B6F37B #7BF2F3
square
#B87BF3 #F37C7B #B6F37B #7BF2F3
split-complementary
#B87BF3 #F2F37B #7BF37C
monochromatic
#7B14DF #9A43EE #B87BF3 #D6B3F8 #F0E3FC

Accessibility & contrast

On white

2.93
#B87BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B87BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF3#FFFFFF#000000##000000
##B87BF31.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F7
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#AF90AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87bf3;
/* rgb */ color: rgb(184, 123, 243);
/* oklch */ color: oklch(69.5% 0.178 305.7);
Tailwind
colors: {
  custom: {
    50: '#d0a3f7',
    500: '#b87bf3',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf3;
$custom-light: #d0a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf3",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 270.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69464,
    "c": 0.17796,
    "h": 305.7
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#B87BF3
secondary
#E5F4D6
accent
#E00671
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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