#A02AA1#A02AA1

#A02AA1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 327.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A02AA1
RGBrgb(160, 42, 161)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 63%)
CMYKcmyk(0.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(40.74, 61.29, -38.94)
CIE-LCHlch(40.74, 72.61, 327.57°)
OKLaboklab(51.58% 0.1705 -0.108)
OKLCHoklch(51.58% 0.202 327.7)
XYZxyz(21.7579, 11.7043, 34.8245)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA1 #2BA12A
analogous
#652AA1 #A02AA1 #A12A66
triadic
#A02AA1 #A1A02A #2AA1A0
tetradic
#A02AA1 #A1652A #2BA12A #2A66A1
square
#A02AA1 #A1652A #2BA12A #2A66A1
split-complementary
#A02AA1 #66A12A #2AA165
monochromatic
#401140 #701D70 #A02AA1 #CB3CCC #D86DD9

Accessibility & contrast

On white

6.29
#A02AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A02AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA1#FFFFFF#000000##FFFFFF
##A02AA11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#4A659E
Tritanopia (blue-blind)
#A53D63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02aa1;
/* rgb */ color: rgb(160, 42, 161);
/* oklch */ color: oklch(51.6% 0.202 327.7);
Tailwind
colors: {
  custom: {
    50: '#c070bd',
    500: '#a02aa1',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa1;
$custom-light: #c070bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa1",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 299.496,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.20183,
    "h": 327.7
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#A02AA1
secondary
#68C067
accent
#E24647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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