#B856DC#B856DC

#B856DC is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.0% C 0.209 H 315.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B856DC
RGBrgb(184, 86, 220)
HSLhsl(284, 66%, 60%)
HSVhsv(284, 61%, 86%)
CMYKcmyk(16.4%, 60.9%, 0%, 13.7%)
CIE-LABlab(54.04, 59.89, -51.89)
CIE-LCHlch(54.04, 79.25, 319.10°)
OKLaboklab(62.95% 0.1499 -0.1454)
OKLCHoklch(62.95% 0.209 315.9)
XYZxyz(36.0112, 22.0145, 70.0485)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856DC #7ADC56
analogous
#7556DC #B856DC #DC56BD
triadic
#B856DC #DCB856 #56DCB8
tetradic
#B856DC #DC7556 #7ADC56 #56BDDC
square
#B856DC #DC7556 #7ADC56 #56BDDC
split-complementary
#B856DC #BDDC56 #56DC75
monochromatic
#782098 #A02ACB #B856DC #CD89E6 #E3BBF1

Accessibility & contrast

On white

3.89
#B856DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B856DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856DC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856DC#FFFFFF#000000##000000
##B856DC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#5684D9
Tritanopia (blue-blind)
#B66E91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b856dc;
/* rgb */ color: rgb(184, 86, 220);
/* oklch */ color: oklch(63.0% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#d18be7',
    500: '#b856dc',
    950: '#000000',
  },
}
SCSS
$custom: #b856dc;
$custom-light: #d18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b856dc",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 283.881,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.20881,
    "h": 315.9
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#B856DC
secondary
#BBE1AD
accent
#E93F6D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B856DC

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

Preview Lab → · Contrast checker → · Palette generator →

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