#A02EA1#A02EA1

#A02EA1 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.197 H 327.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A02EA1
RGBrgb(160, 46, 161)
HSLhsl(299, 56%, 41%)
HSVhsv(299, 71%, 63%)
CMYKcmyk(0.6%, 71.4%, 0%, 36.9%)
CIE-LABlab(41.22, 59.92, -38.18)
CIE-LCHlch(41.22, 71.06, 327.49°)
OKLaboklab(51.92% 0.1667 -0.1058)
OKLCHoklch(51.92% 0.197 327.6)
XYZxyz(21.9069, 12.0023, 34.8741)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA1 #2FA12E
analogous
#662EA1 #A02EA1 #A12E68
triadic
#A02EA1 #A1A02E #2EA1A0
tetradic
#A02EA1 #A1662E #2FA12E #2E68A1
square
#A02EA1 #A1662E #2FA12E #2E68A1
split-complementary
#A02EA1 #68A12E #2EA166
monochromatic
#411342 #712071 #A02EA1 #C843C9 #D673D7

Accessibility & contrast

On white

6.18
#A02EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A02EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA1#FFFFFF#000000##FFFFFF
##A02EA11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#A53F65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ea1;
/* rgb */ color: rgb(160, 46, 161);
/* oklch */ color: oklch(51.9% 0.197 327.6);
Tailwind
colors: {
  custom: {
    50: '#c072bd',
    500: '#a02ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea1;
$custom-light: #c072bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea1",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 299.478,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.19742,
    "h": 327.6
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#A02EA1
secondary
#6DBE6C
accent
#DF494A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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