#B82DA6#B82DA6

#B82DA6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.215 H 334.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B82DA6
RGBrgb(184, 45, 166)
HSLhsl(308, 61%, 45%)
HSVhsv(308, 76%, 72%)
CMYKcmyk(0%, 75.5%, 9.8%, 27.8%)
CIE-LABlab(45.39, 66.44, -34.32)
CIE-LCHlch(45.39, 74.78, 332.68°)
OKLaboklab(55.77% 0.1929 -0.094)
OKLCHoklch(55.77% 0.215 334)
XYZxyz(27.5887, 14.8227, 37.4771)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82DA6 #2DB83F
analogous
#852DB8 #B82DA6 #B82D60
triadic
#B82DA6 #A6B82D #2DA6B8
tetradic
#B82DA6 #B8852D #2DB83F #2D60B8
square
#B82DA6 #B8852D #2DB83F #2D60B8
split-complementary
#B82DA6 #60B82D #2DB885
monochromatic
#56154D #87217A #B82DA6 #D44EC3 #E080D3

Accessibility & contrast

On white

5.30
#B82DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B82DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82DA6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82DA6#FFFFFF#000000##FFFFFF
##B82DA61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FA9
Deuteranopia (green-blind)
#5E73A3
Tritanopia (blue-blind)
#C13B67
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82da6;
/* rgb */ color: rgb(184, 45, 166);
/* oklch */ color: oklch(55.8% 0.215 334.0);
Tailwind
colors: {
  custom: {
    50: '#d175c1',
    500: '#b82da6',
    950: '#000000',
  },
}
SCSS
$custom: #b82da6;
$custom-light: #d175c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82da6",
  "rgb": {
    "r": 184,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 307.77,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.21458,
    "h": 334
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#B82DA6
secondary
#78C983
accent
#E45944
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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