#A82A98#A82A98

#A82A98 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.3% C 0.199 H 333.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A82A98
RGBrgb(168, 42, 152)
HSLhsl(308, 60%, 41%)
HSVhsv(308, 75%, 66%)
CMYKcmyk(0%, 75%, 9.5%, 34.1%)
CIE-LABlab(41.61, 61.64, -32.06)
CIE-LCHlch(41.61, 69.48, 332.52°)
OKLaboklab(52.3% 0.1787 -0.0879)
OKLCHoklch(52.3% 0.199 333.8)
XYZxyz(22.6441, 12.2497, 30.8715)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82A98 #2AA83A
analogous
#792AA8 #A82A98 #A82A59
triadic
#A82A98 #98A82A #2A98A8
tetradic
#A82A98 #A8792A #2AA83A #2A59A8
square
#A82A98 #A8792A #2AA83A #2A59A8
split-complementary
#A82A98 #59A82A #2AA879
monochromatic
#46123F #771E6C #A82A98 #CF40BD #DB71CE

Accessibility & contrast

On white

6.09
#A82A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A82A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82A98
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82A98#FFFFFF#000000##FFFFFF
##A82A981.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#B0365F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a82a98;
/* rgb */ color: rgb(168, 42, 152);
/* oklch */ color: oklch(52.3% 0.199 333.8);
Tailwind
colors: {
  custom: {
    50: '#c671b6',
    500: '#a82a98',
    950: '#000000',
  },
}
SCSS
$custom: #a82a98;
$custom-light: #c671b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82a98",
  "rgb": {
    "r": 168,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 307.619,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.19915,
    "h": 333.8
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#A82A98
secondary
#6BC376
accent
#E35945
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A82A98

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

Preview Lab → · Contrast checker → · Palette generator →

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