#A02EA3#A02EA3

#A02EA3 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.199 H 326.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A02EA3
RGBrgb(160, 46, 163)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 64%)
CMYKcmyk(1.8%, 71.8%, 0%, 36.1%)
CIE-LABlab(41.33, 60.27, -39.20)
CIE-LCHlch(41.33, 71.89, 326.96°)
OKLaboklab(52.04% 0.1667 -0.1088)
OKLCHoklch(52.04% 0.199 326.9)
XYZxyz(22.0847, 12.0734, 35.8104)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA3 #31A32E
analogous
#652EA3 #A02EA3 #A32E6B
triadic
#A02EA3 #A3A02E #2EA3A0
tetradic
#A02EA3 #A3652E #31A32E #2E6BA3
square
#A02EA3 #A3652E #31A32E #2E6BA3
split-complementary
#A02EA3 #6BA32E #2EA365
monochromatic
#421344 #712173 #A02EA3 #C744CA #D574D8

Accessibility & contrast

On white

6.15
#A02EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A02EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA3#FFFFFF#000000##FFFFFF
##A02EA31.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#A54066
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ea3;
/* rgb */ color: rgb(160, 46, 163);
/* oklch */ color: oklch(52.0% 0.199 326.9);
Tailwind
colors: {
  custom: {
    50: '#c072bf',
    500: '#a02ea3',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea3;
$custom-light: #c072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea3",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 298.462,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.19903,
    "h": 326.9
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#A02EA3
secondary
#70BF6D
accent
#DF494C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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