#A02AA8#A02AA8

#A02AA8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 325.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A02AA8
RGBrgb(160, 42, 168)
HSLhsl(296, 60%, 41%)
HSVhsv(296, 75%, 66%)
CMYKcmyk(4.8%, 75%, 0%, 34.1%)
CIE-LABlab(41.15, 62.48, -42.48)
CIE-LCHlch(41.15, 75.55, 325.78°)
OKLaboklab(52% 0.1703 -0.1183)
OKLCHoklch(52% 0.207 325.2)
XYZxyz(22.3925, 11.9581, 38.1669)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA8 #32A82A
analogous
#612AA8 #A02AA8 #A82A71
triadic
#A02AA8 #A8A02A #2AA8A0
tetradic
#A02AA8 #A8612A #32A82A #2A71A8
square
#A02AA8 #A8612A #32A82A #2A71A8
split-complementary
#A02AA8 #71A82A #2AA861
monochromatic
#431246 #711E77 #A02AA8 #C640CF #D571DB

Accessibility & contrast

On white

6.19
#A02AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A02AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA8#FFFFFF#000000##FFFFFF
##A02AA81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A44067
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aa8;
/* rgb */ color: rgb(160, 42, 168);
/* oklch */ color: oklch(52.0% 0.207 325.2);
Tailwind
colors: {
  custom: {
    50: '#c071c2',
    500: '#a02aa8',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa8;
$custom-light: #c071c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa8",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 296.19,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.20737,
    "h": 325.2
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#A02AA8
secondary
#71C36B
accent
#E3454F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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