#B82AA2#B82AA2

#B82AA2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.215 H 335.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B82AA2
RGBrgb(184, 42, 162)
HSLhsl(309, 63%, 44%)
HSVhsv(309, 77%, 72%)
CMYKcmyk(0%, 77.2%, 12%, 27.8%)
CIE-LABlab(44.88, 66.74, -32.73)
CIE-LCHlch(44.88, 74.33, 333.87°)
OKLaboklab(55.34% 0.1952 -0.0895)
OKLCHoklch(55.34% 0.215 335.4)
XYZxyz(27.1171, 14.4574, 35.5378)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AA2 #2AB840
analogous
#872AB8 #B82AA2 #B82A5B
triadic
#B82AA2 #A2B82A #2AA2B8
tetradic
#B82AA2 #B8872A #2AB840 #2A5BB8
square
#B82AA2 #B8872A #2AB840 #2A5BB8
split-complementary
#B82AA2 #5BB82A #2AB887
monochromatic
#54134A #861F76 #B82AA2 #D64AC0 #E17BD1

Accessibility & contrast

On white

5.40
#B82AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B82AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AA2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AA2#FFFFFF#000000##FFFFFF
##B82AA21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b82aa2;
/* rgb */ color: rgb(184, 42, 162);
/* oklch */ color: oklch(55.3% 0.215 335.4);
Tailwind
colors: {
  custom: {
    50: '#d174be',
    500: '#b82aa2',
    950: '#000000',
  },
}
SCSS
$custom: #b82aa2;
$custom-light: #d174be;
$custom-dark: #000000;
JSON
{
  "hex": "#b82aa2",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 309.296,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.21475,
    "h": 335.4
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#B82AA2
secondary
#75C982
accent
#E65B42
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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