#B87DF2#B87DF2

#B87DF2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.174 H 305.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B87DF2
RGBrgb(184, 125, 242)
HSLhsl(270, 82%, 72%)
HSVhsv(270, 48%, 95%)
CMYKcmyk(24%, 48.3%, 0%, 5.1%)
CIE-LABlab(62.73, 44.84, -50.37)
CIE-LCHlch(62.73, 67.44, 311.67°)
OKLaboklab(69.72% 0.1012 -0.1411)
OKLCHoklch(69.72% 0.174 305.7)
XYZxyz(43.1245, 31.2687, 87.7508)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DF2 #B7F27D
analogous
#7E7DF2 #B87DF2 #F27DF2
triadic
#B87DF2 #F2B87D #7DF2B8
tetradic
#B87DF2 #F27E7D #B7F27D #7DF2F2
square
#B87DF2 #F27E7D #B7F27D #7DF2F2
split-complementary
#B87DF2 #F2F27D #7DF27E
monochromatic
#7B16DE #9A45EC #B87DF2 #D6B5F8 #F0E3FC

Accessibility & contrast

On white

2.90
#B87DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B87DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DF2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DF2#FFFFFF#000000##000000
##B87DF21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#AF91AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87df2;
/* rgb */ color: rgb(184, 125, 242);
/* oklch */ color: oklch(69.7% 0.174 305.7);
Tailwind
colors: {
  custom: {
    50: '#d0a4f7',
    500: '#b87df2',
    950: '#000000',
  },
}
SCSS
$custom: #b87df2;
$custom-light: #d0a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87df2",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 270.256,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69724,
    "c": 0.17366,
    "h": 305.7
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

primary
#B87DF2
secondary
#E5F4D7
accent
#DE0772
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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