#B82AAA#B82AAA

#B82AAA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.220 H 332.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B82AAA
RGBrgb(184, 42, 170)
HSLhsl(306, 63%, 44%)
HSVhsv(306, 77%, 72%)
CMYKcmyk(0%, 77.2%, 7.6%, 27.8%)
CIE-LABlab(45.29, 67.92, -36.85)
CIE-LCHlch(45.29, 77.27, 331.52°)
OKLaboklab(55.76% 0.1956 -0.1013)
OKLCHoklch(55.76% 0.22 332.6)
XYZxyz(27.8510, 14.7509, 39.4028)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AAA #2AB838
analogous
#7F2AB8 #B82AAA #B82A63
triadic
#B82AAA #AAB82A #2AAAB8
tetradic
#B82AAA #B87F2A #2AB838 #2A63B8
square
#B82AAA #B87F2A #2AB838 #2A63B8
split-complementary
#B82AAA #63B82A #2AB87F
monochromatic
#54134E #861F7C #B82AAA #D64AC8 #E17BD7

Accessibility & contrast

On white

5.32
#B82AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B82AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AAA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AAA#FFFFFF#000000##FFFFFF
##B82AAA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#C03B69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82aaa;
/* rgb */ color: rgb(184, 42, 170);
/* oklch */ color: oklch(55.8% 0.220 332.6);
Tailwind
colors: {
  custom: {
    50: '#d174c4',
    500: '#b82aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b82aaa;
$custom-light: #d174c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b82aaa",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 305.915,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.22031,
    "h": 332.6
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#B82AAA
secondary
#75C97D
accent
#E65242
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B82AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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