#A02EA9#A02EA9

#A02EA9 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.204 H 324.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A02EA9
RGBrgb(160, 46, 169)
HSLhsl(296, 57%, 42%)
HSVhsv(296, 73%, 66%)
CMYKcmyk(5.3%, 72.8%, 0%, 33.7%)
CIE-LABlab(41.68, 61.30, -42.24)
CIE-LCHlch(41.68, 74.45, 325.44°)
OKLaboklab(52.4% 0.1666 -0.1176)
OKLCHoklch(52.4% 0.204 324.8)
XYZxyz(22.6351, 12.2936, 38.7091)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA9 #37A92E
analogous
#632EA9 #A02EA9 #A92E74
triadic
#A02EA9 #A9A02E #2EA9A0
tetradic
#A02EA9 #A9632E #37A92E #2E74A9
square
#A02EA9 #A9632E #37A92E #2E74A9
split-complementary
#A02EA9 #74A92E #2EA963
monochromatic
#451449 #722179 #A02EA9 #C347CD #D377DA

Accessibility & contrast

On white

6.07
#A02EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A02EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA9#FFFFFF#000000##FFFFFF
##A02EA91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035AAC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#A34369
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02ea9;
/* rgb */ color: rgb(160, 46, 169);
/* oklch */ color: oklch(52.4% 0.204 324.8);
Tailwind
colors: {
  custom: {
    50: '#c072c3',
    500: '#a02ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea9;
$custom-light: #c072c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea9",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 295.61,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.20389,
    "h": 324.8
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#A02EA9
secondary
#77C271
accent
#E04753
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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