#B82DA7#B82DA7

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

Color values

HEX#B82DA7
RGBrgb(184, 45, 167)
HSLhsl(307, 61%, 45%)
HSVhsv(307, 76%, 72%)
CMYKcmyk(0%, 75.5%, 9.2%, 27.8%)
CIE-LABlab(45.44, 66.59, -34.83)
CIE-LCHlch(45.44, 75.15, 332.39°)
OKLaboklab(55.82% 0.1929 -0.0955)
OKLCHoklch(55.82% 0.215 333.7)
XYZxyz(27.6808, 14.8595, 37.9620)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82DA7 #2DB83E
analogous
#832DB8 #B82DA7 #B82D62
triadic
#B82DA7 #A7B82D #2DA7B8
tetradic
#B82DA7 #B8832D #2DB83E #2D62B8
square
#B82DA7 #B8832D #2DB83E #2D62B8
split-complementary
#B82DA7 #62B82D #2DB883
monochromatic
#56154E #87217A #B82DA7 #D44EC3 #E080D4

Accessibility & contrast

On white

5.29
#B82DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B82DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82DA7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82DA7#FFFFFF#000000##FFFFFF
##B82DA71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAA
Deuteranopia (green-blind)
#5D73A4
Tritanopia (blue-blind)
#C13B68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82da7;
/* rgb */ color: rgb(184, 45, 167);
/* oklch */ color: oklch(55.8% 0.215 333.7);
Tailwind
colors: {
  custom: {
    50: '#d175c1',
    500: '#b82da7',
    950: '#000000',
  },
}
SCSS
$custom: #b82da7;
$custom-light: #d175c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82da7",
  "rgb": {
    "r": 184,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 307.338,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.21529,
    "h": 333.7
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#B82DA7
secondary
#78C982
accent
#E45844
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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