#B82AA1#B82AA1

#B82AA1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.214 H 335.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B82AA1
RGBrgb(184, 42, 161)
HSLhsl(310, 63%, 44%)
HSVhsv(310, 77%, 72%)
CMYKcmyk(0%, 77.2%, 12.5%, 27.8%)
CIE-LABlab(44.83, 66.59, -32.21)
CIE-LCHlch(44.83, 73.97, 334.18°)
OKLaboklab(55.29% 0.1952 -0.088)
OKLCHoklch(55.29% 0.214 335.7)
XYZxyz(27.0286, 14.4220, 35.0715)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AA1 #2AB841
analogous
#882AB8 #B82AA1 #B82A5A
triadic
#B82AA1 #A1B82A #2AA1B8
tetradic
#B82AA1 #B8882A #2AB841 #2A5AB8
square
#B82AA1 #B8882A #2AB841 #2A5AB8
split-complementary
#B82AA1 #5AB82A #2AB888
monochromatic
#54134A #861F75 #B82AA1 #D64ABF #E17BD1

Accessibility & contrast

On white

5.41
#B82AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B82AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AA1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AA1#FFFFFF#000000##FFFFFF
##B82AA11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA4
Deuteranopia (green-blind)
#5F729E
Tritanopia (blue-blind)
#C13664
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b82aa1;
/* rgb */ color: rgb(184, 42, 161);
/* oklch */ color: oklch(55.3% 0.214 335.7);
Tailwind
colors: {
  custom: {
    50: '#d174bd',
    500: '#b82aa1',
    950: '#000000',
  },
}
SCSS
$custom: #b82aa1;
$custom-light: #d174bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b82aa1",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 309.718,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.21407,
    "h": 335.7
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#B82AA1
secondary
#75C982
accent
#E65C42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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