#B82AB1#B82AB1

#B82AB1 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.225 H 330.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B82AB1
RGBrgb(184, 42, 177)
HSLhsl(303, 63%, 44%)
HSVhsv(303, 77%, 72%)
CMYKcmyk(0%, 77.2%, 3.8%, 27.8%)
CIE-LABlab(45.67, 68.98, -40.40)
CIE-LCHlch(45.67, 79.94, 329.65°)
OKLaboklab(56.15% 0.1957 -0.1116)
OKLCHoklch(56.15% 0.225 330.3)
XYZxyz(28.5308, 15.0229, 42.9835)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AB1 #2AB831
analogous
#782AB8 #B82AB1 #B82A6A
triadic
#B82AB1 #B1B82A #2AB1B8
tetradic
#B82AB1 #B8782A #2AB831 #2A6AB8
square
#B82AB1 #B8782A #2AB831 #2A6AB8
split-complementary
#B82AB1 #6AB82A #2AB878
monochromatic
#541351 #861F81 #B82AB1 #D64ACF #E17BDC

Accessibility & contrast

On white

5.24
#B82AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B82AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AB1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AB1#FFFFFF#000000##FFFFFF
##B82AB11.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#BF3E6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82ab1;
/* rgb */ color: rgb(184, 42, 177);
/* oklch */ color: oklch(56.2% 0.225 330.3);
Tailwind
colors: {
  custom: {
    50: '#d174c9',
    500: '#b82ab1',
    950: '#000000',
  },
}
SCSS
$custom: #b82ab1;
$custom-light: #d174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ab1",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 302.958,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.22531,
    "h": 330.3
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#B82AB1
secondary
#75C979
accent
#E64A42
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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