#A02EAA#A02EAA

#A02EAA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.205 H 324.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A02EAA
RGBrgb(160, 46, 170)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 73%, 67%)
CMYKcmyk(5.9%, 72.9%, 0%, 33.3%)
CIE-LABlab(41.74, 61.48, -42.74)
CIE-LCHlch(41.74, 74.87, 325.20°)
OKLaboklab(52.46% 0.1665 -0.119)
OKLCHoklch(52.46% 0.205 324.4)
XYZxyz(22.7293, 12.3313, 39.2054)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EAA #38AA2E
analogous
#622EAA #A02EAA #AA2E76
triadic
#A02EAA #AAA02E #2EAAA0
tetradic
#A02EAA #AA622E #38AA2E #2E76AA
square
#A02EAA #AA622E #38AA2E #2E76AA
split-complementary
#A02EAA #76AA2E #2EAA62
monochromatic
#45144A #73217A #A02EAA #C348CD #D378DA

Accessibility & contrast

On white

6.06
#A02EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A02EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EAA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EAA#FFFFFF#000000##FFFFFF
##A02EAA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#A3446A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02eaa;
/* rgb */ color: rgb(160, 46, 170);
/* oklch */ color: oklch(52.5% 0.205 324.4);
Tailwind
colors: {
  custom: {
    50: '#c072c4',
    500: '#a02eaa',
    950: '#000000',
  },
}
SCSS
$custom: #a02eaa;
$custom-light: #c072c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eaa",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 295.161,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.20472,
    "h": 324.4
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#A02EAA
secondary
#78C371
accent
#E14754
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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