#B87DF3#B87DF3

#B87DF3 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.175 H 305.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B87DF3
RGBrgb(184, 125, 243)
HSLhsl(270, 83%, 72%)
HSVhsv(270, 49%, 95%)
CMYKcmyk(24.3%, 48.6%, 0%, 4.7%)
CIE-LABlab(62.78, 45.07, -50.84)
CIE-LCHlch(62.78, 67.94, 311.55°)
OKLaboklab(69.78% 0.1013 -0.1425)
OKLCHoklch(69.78% 0.175 305.4)
XYZxyz(43.2751, 31.3289, 88.5439)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DF3 #B8F37D
analogous
#7D7DF3 #B87DF3 #F37DF3
triadic
#B87DF3 #F3B87D #7DF3B8
tetradic
#B87DF3 #F37D7D #B8F37D #7DF3F3
square
#B87DF3 #F37D7D #B8F37D #7DF3F3
split-complementary
#B87DF3 #F3F37D #7DF37D
monochromatic
#7B15E1 #9945EE #B87DF3 #D7B5F8 #F0E3FC

Accessibility & contrast

On white

2.89
#B87DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B87DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DF3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DF3#FFFFFF#000000##000000
##B87DF31.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F7
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#AE92AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87df3;
/* rgb */ color: rgb(184, 125, 243);
/* oklch */ color: oklch(69.8% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#d0a4f7',
    500: '#b87df3',
    950: '#000000',
  },
}
SCSS
$custom: #b87df3;
$custom-light: #d0a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87df3",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 270,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69778,
    "c": 0.17485,
    "h": 305.4
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

primary
#B87DF3
secondary
#E6F4D7
accent
#E00673
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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