#A02EA5#A02EA5

#A02EA5 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.201 H 326.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A02EA5
RGBrgb(160, 46, 165)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(3%, 72.1%, 0%, 35.3%)
CIE-LABlab(41.45, 60.61, -40.22)
CIE-LCHlch(41.45, 72.74, 326.43°)
OKLaboklab(52.15% 0.1667 -0.1117)
OKLCHoklch(52.15% 0.201 326.2)
XYZxyz(22.2653, 12.1457, 36.7616)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA5 #33A52E
analogous
#652EA5 #A02EA5 #A52E6F
triadic
#A02EA5 #A5A02E #2EA5A0
tetradic
#A02EA5 #A5652E #33A52E #2E6FA5
square
#A02EA5 #A5652E #33A52E #2E6FA5
split-complementary
#A02EA5 #6FA52E #2EA565
monochromatic
#431345 #722175 #A02EA5 #C645CB #D475D8

Accessibility & contrast

On white

6.12
#A02EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A02EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA5#FFFFFF#000000##FFFFFF
##A02EA51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#A44167
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02ea5;
/* rgb */ color: rgb(160, 46, 165);
/* oklch */ color: oklch(52.2% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#c072c0',
    500: '#a02ea5',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea5;
$custom-light: #c072c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea5",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 297.479,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.20064,
    "h": 326.2
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#A02EA5
secondary
#72C06F
accent
#E0484E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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