#A02EA4#A02EA4

#A02EA4 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.200 H 326.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A02EA4
RGBrgb(160, 46, 164)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 64%)
CMYKcmyk(2.4%, 72%, 0%, 35.7%)
CIE-LABlab(41.39, 60.44, -39.71)
CIE-LCHlch(41.39, 72.32, 326.69°)
OKLaboklab(52.1% 0.1667 -0.1102)
OKLCHoklch(52.1% 0.2 326.5)
XYZxyz(22.1746, 12.1094, 36.2842)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA4 #32A42E
analogous
#652EA4 #A02EA4 #A42E6D
triadic
#A02EA4 #A4A02E #2EA4A0
tetradic
#A02EA4 #A4652E #32A42E #2E6DA4
square
#A02EA4 #A4652E #32A42E #2E6DA4
split-complementary
#A02EA4 #6DA42E #2EA465
monochromatic
#431344 #712174 #A02EA4 #C645CB #D574D8

Accessibility & contrast

On white

6.14
#A02EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A02EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA4#FFFFFF#000000##FFFFFF
##A02EA41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#A44166
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02ea4;
/* rgb */ color: rgb(160, 46, 164);
/* oklch */ color: oklch(52.1% 0.200 326.5);
Tailwind
colors: {
  custom: {
    50: '#c072bf',
    500: '#a02ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea4;
$custom-light: #c072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea4",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 297.966,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.19984,
    "h": 326.5
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#A02EA4
secondary
#71C06E
accent
#DF484D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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