#B82AA6#B82AA6

#B82AA6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.217 H 334.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B82AA6
RGBrgb(184, 42, 166)
HSLhsl(308, 63%, 44%)
HSVhsv(308, 77%, 72%)
CMYKcmyk(0%, 77.2%, 9.8%, 27.8%)
CIE-LABlab(45.08, 67.32, -34.80)
CIE-LCHlch(45.08, 75.78, 332.66°)
OKLaboklab(55.55% 0.1955 -0.0954)
OKLCHoklch(55.55% 0.218 334)
XYZxyz(27.4783, 14.6019, 37.4402)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AA6 #2AB83C
analogous
#832AB8 #B82AA6 #B82A5F
triadic
#B82AA6 #A6B82A #2AA6B8
tetradic
#B82AA6 #B8832A #2AB83C #2A5FB8
square
#B82AA6 #B8832A #2AB83C #2A5FB8
split-complementary
#B82AA6 #5FB82A #2AB883
monochromatic
#54134C #861F79 #B82AA6 #D64AC4 #E17BD4

Accessibility & contrast

On white

5.36
#B82AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B82AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AA6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AA6#FFFFFF#000000##FFFFFF
##B82AA61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EA9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#C13966
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82aa6;
/* rgb */ color: rgb(184, 42, 166);
/* oklch */ color: oklch(55.5% 0.217 334.0);
Tailwind
colors: {
  custom: {
    50: '#d174c1',
    500: '#b82aa6',
    950: '#000000',
  },
}
SCSS
$custom: #b82aa6;
$custom-light: #d174c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82aa6",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 307.606,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.2175,
    "h": 334
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#B82AA6
secondary
#75C97F
accent
#E65742
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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