#A82F97#A82F97

#A82F97 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.193 H 334.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A82F97
RGBrgb(168, 47, 151)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 66%)
CMYKcmyk(0%, 72%, 10.1%, 34.1%)
CIE-LABlab(42.15, 59.82, -30.62)
CIE-LCHlch(42.15, 67.20, 332.90°)
OKLaboklab(52.67% 0.1737 -0.0838)
OKLCHoklch(52.67% 0.193 334.3)
XYZxyz(22.7511, 12.5942, 30.5048)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82F97 #2FA840
analogous
#7D2FA8 #A82F97 #A82F5A
triadic
#A82F97 #97A82F #2F97A8
tetradic
#A82F97 #A87D2F #2FA840 #2F5AA8
square
#A82F97 #A87D2F #2FA840 #2F5AA8
split-complementary
#A82F97 #5AA82F #2FA87D
monochromatic
#481441 #78226C #A82F97 #CC48B9 #D978CC

Accessibility & contrast

On white

5.97
#A82F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A82F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82F97
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82F97#FFFFFF#000000##FFFFFF
##A82F971.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#B0395F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a82f97;
/* rgb */ color: rgb(168, 47, 151);
/* oklch */ color: oklch(52.7% 0.193 334.3);
Tailwind
colors: {
  custom: {
    50: '#c573b6',
    500: '#a82f97',
    950: '#000000',
  },
}
SCSS
$custom: #a82f97;
$custom-light: #c573b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82f97",
  "rgb": {
    "r": 168,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 308.43,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.19288,
    "h": 334.3
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#A82F97
secondary
#71C17D
accent
#E05D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A82F97

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

Preview Lab → · Contrast checker → · Palette generator →

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