#B82AB2#B82AB2

#B82AB2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.226 H 330.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B82AB2
RGBrgb(184, 42, 178)
HSLhsl(303, 63%, 44%)
HSVhsv(303, 77%, 72%)
CMYKcmyk(0%, 77.2%, 3.3%, 27.8%)
CIE-LABlab(45.72, 69.14, -40.90)
CIE-LCHlch(45.72, 80.33, 329.39°)
OKLaboklab(56.21% 0.1957 -0.113)
OKLCHoklch(56.21% 0.226 330)
XYZxyz(28.6309, 15.0629, 43.5103)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AB2 #2AB830
analogous
#772AB8 #B82AB2 #B82A6B
triadic
#B82AB2 #B2B82A #2AB2B8
tetradic
#B82AB2 #B8772A #2AB830 #2A6BB8
square
#B82AB2 #B8772A #2AB830 #2A6BB8
split-complementary
#B82AB2 #6BB82A #2AB877
monochromatic
#541352 #861F82 #B82AB2 #D64AD0 #E17BDD

Accessibility & contrast

On white

5.23
#B82AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B82AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AB2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AB2#FFFFFF#000000##FFFFFF
##B82AB21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BF3F6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82ab2;
/* rgb */ color: rgb(184, 42, 178);
/* oklch */ color: oklch(56.2% 0.226 330.0);
Tailwind
colors: {
  custom: {
    50: '#d174c9',
    500: '#b82ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b82ab2;
$custom-light: #d174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ab2",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 302.535,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.22603,
    "h": 330
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#B82AB2
secondary
#75C978
accent
#E64942
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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