#B856B2#B856B2

#B856B2 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.170 H 329.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B856B2
RGBrgb(184, 86, 178)
HSLhsl(304, 41%, 53%)
HSVhsv(304, 53%, 72%)
CMYKcmyk(0%, 53.3%, 3.3%, 27.8%)
CIE-LABlab(51.91, 51.95, -31.17)
CIE-LCHlch(51.91, 60.58, 329.04°)
OKLaboklab(60.7% 0.1466 -0.0853)
OKLCHoklch(60.7% 0.17 329.8)
XYZxyz(31.1305, 20.0622, 44.3436)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856B2 #56B85C
analogous
#8D56B8 #B856B2 #B85681
triadic
#B856B2 #B2B856 #56B2B8
tetradic
#B856B2 #B88D56 #56B85C #5681B8
square
#B856B2 #B88D56 #56B85C #5681B8
split-complementary
#B856B2 #81B856 #56B88D
monochromatic
#682C64 #933E8E #B856B2 #CA81C6 #DCACD9

Accessibility & contrast

On white

4.19
#B856B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B856B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856B2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856B2#FFFFFF#000000##000000
##B856B21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#BE5F7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b856b2;
/* rgb */ color: rgb(184, 86, 178);
/* oklch */ color: oklch(60.7% 0.170 329.8);
Tailwind
colors: {
  custom: {
    50: '#d08ac9',
    500: '#b856b2',
    950: '#000000',
  },
}
SCSS
$custom: #b856b2;
$custom-light: #d08ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b856b2",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 303.673,
    "s": 40.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.16959,
    "h": 329.8
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#B856B2
secondary
#A0CAA2
accent
#D15F57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B856B2

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

Preview Lab → · Contrast checker → · Palette generator →

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