#B87DFC#B87DFC

#B87DFC is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.185 H 303.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B87DFC
RGBrgb(184, 125, 252)
HSLhsl(268, 95%, 74%)
HSVhsv(268, 50%, 99%)
CMYKcmyk(27%, 50.4%, 0%, 1.2%)
CIE-LABlab(63.25, 47.15, -55.06)
CIE-LCHlch(63.25, 72.49, 310.57°)
OKLaboklab(70.27% 0.1022 -0.1548)
OKLCHoklch(70.27% 0.185 303.4)
XYZxyz(44.6676, 31.8859, 95.8780)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DFC #C1FC7D
analogous
#7D82FC #B87DFC #F87DFC
triadic
#B87DFC #FCB87D #7DFCB8
tetradic
#B87DFC #FC7D82 #C1FC7D #7DFCF8
square
#B87DFC #FC7D82 #C1FC7D #7DFCF8
split-complementary
#B87DFC #FCF87D #82FC7D
monochromatic
#7706F9 #9741FB #B87DFC #D9B9FD #EFE1FE

Accessibility & contrast

On white

2.85
#B87DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B87DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DFC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DFC#FFFFFF#000000##000000
##B87DFC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#AC94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87dfc;
/* rgb */ color: rgb(184, 125, 252);
/* oklch */ color: oklch(70.3% 0.185 303.4);
Tailwind
colors: {
  custom: {
    50: '#d0a4fe',
    500: '#b87dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b87dfc;
$custom-light: #d0a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dfc",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 267.874,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.18547,
    "h": 303.4
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

primary
#B87DFC
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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