#A82FA1#A82FA1

#A82FA1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.200 H 330.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A82FA1
RGBrgb(168, 47, 161)
HSLhsl(303, 56%, 42%)
HSVhsv(303, 72%, 66%)
CMYKcmyk(0%, 72%, 4.2%, 34.1%)
CIE-LABlab(42.66, 61.40, -35.82)
CIE-LCHlch(42.66, 71.08, 329.74°)
OKLaboklab(53.21% 0.1744 -0.0987)
OKLCHoklch(53.21% 0.2 330.5)
XYZxyz(23.5979, 12.9329, 34.9647)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82FA1 #2FA836
analogous
#732FA8 #A82FA1 #A82F65
triadic
#A82FA1 #A1A82F #2FA1A8
tetradic
#A82FA1 #A8732F #2FA836 #2F65A8
square
#A82FA1 #A8732F #2FA836 #2F65A8
split-complementary
#A82FA1 #65A82F #2FA873
monochromatic
#481445 #782273 #A82FA1 #CC48C4 #D978D4

Accessibility & contrast

On white

5.86
#A82FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A82FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82FA1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82FA1#FFFFFF#000000##FFFFFF
##A82FA11.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA4
Deuteranopia (green-blind)
#536B9E
Tritanopia (blue-blind)
#AE3E65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a82fa1;
/* rgb */ color: rgb(168, 47, 161);
/* oklch */ color: oklch(53.2% 0.200 330.5);
Tailwind
colors: {
  custom: {
    50: '#c573bd',
    500: '#a82fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a82fa1;
$custom-light: #c573bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a82fa1",
  "rgb": {
    "r": 168,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 303.471,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.20037,
    "h": 330.5
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#A82FA1
secondary
#71C176
accent
#E05148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A82FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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