#A02AA2#A02AA2

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

Color values

HEX#A02AA2
RGBrgb(160, 42, 162)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.2%, 74.1%, 0%, 36.5%)
CIE-LABlab(40.80, 61.45, -39.45)
CIE-LCHlch(40.80, 73.03, 327.30°)
OKLaboklab(51.64% 0.1705 -0.1095)
OKLCHoklch(51.64% 0.203 327.3)
XYZxyz(21.8464, 11.7397, 35.2908)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA2 #2CA22A
analogous
#642AA2 #A02AA2 #A22A68
triadic
#A02AA2 #A2A02A #2AA2A0
tetradic
#A02AA2 #A2642A #2CA22A #2A68A2
square
#A02AA2 #A2642A #2CA22A #2A68A2
split-complementary
#A02AA2 #68A22A #2AA264
monochromatic
#401141 #701D71 #A02AA2 #CA3DCD #D76DD9

Accessibility & contrast

On white

6.27
#A02AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A02AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA2#FFFFFF#000000##FFFFFF
##A02AA21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A53D64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02aa2;
/* rgb */ color: rgb(160, 42, 162);
/* oklch */ color: oklch(51.6% 0.203 327.3);
Tailwind
colors: {
  custom: {
    50: '#c070be',
    500: '#a02aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa2;
$custom-light: #c070be;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa2",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 299,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.20262,
    "h": 327.3
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#A02AA2
secondary
#69C068
accent
#E24648
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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