#A82BAB#A82BAB

#A82BAB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.212 H 327.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A82BAB
RGBrgb(168, 43, 171)
HSLhsl(299, 60%, 42%)
HSVhsv(299, 75%, 67%)
CMYKcmyk(1.8%, 74.9%, 0%, 32.9%)
CIE-LABlab(42.76, 64.36, -41.63)
CIE-LCHlch(42.76, 76.65, 327.10°)
OKLaboklab(53.46% 0.1782 -0.1156)
OKLCHoklch(53.46% 0.212 327)
XYZxyz(24.3626, 12.9946, 39.7452)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82BAB #2EAB2B
analogous
#682BAB #A82BAB #AB2B6E
triadic
#A82BAB #ABA82B #2BABA8
tetradic
#A82BAB #AB682B #2EAB2B #2B6EAB
square
#A82BAB #AB682B #2EAB2B #2B6EAB
split-complementary
#A82BAB #6EAB2B #2BAB68
monochromatic
#481249 #781F7A #A82BAB #CD43D0 #DA74DC

Accessibility & contrast

On white

5.84
#A82BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A82BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82BAB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82BAB#FFFFFF#000000##FFFFFF
##A82BAB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAE
Deuteranopia (green-blind)
#4C6AA8
Tritanopia (blue-blind)
#AD4069
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a82bab;
/* rgb */ color: rgb(168, 43, 171);
/* oklch */ color: oklch(53.5% 0.212 327.0);
Tailwind
colors: {
  custom: {
    50: '#c672c4',
    500: '#a82bab',
    950: '#000000',
  },
}
SCSS
$custom: #a82bab;
$custom-light: #c672c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a82bab",
  "rgb": {
    "r": 168,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 298.594,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53455,
    "c": 0.21236,
    "h": 327
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#A82BAB
secondary
#70C46E
accent
#E34549
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A82BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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