#A02AAA#A02AAA

#A02AAA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 324.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A02AAA
RGBrgb(160, 42, 170)
HSLhsl(295, 60%, 42%)
HSVhsv(295, 75%, 67%)
CMYKcmyk(5.9%, 75.3%, 0%, 33.3%)
CIE-LABlab(41.27, 62.82, -43.49)
CIE-LCHlch(41.27, 76.40, 325.31°)
OKLaboklab(52.12% 0.1702 -0.1212)
OKLCHoklch(52.12% 0.209 324.5)
XYZxyz(22.5803, 12.0332, 39.1557)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AAA #34AA2A
analogous
#602AAA #A02AAA #AA2A74
triadic
#A02AAA #AAA02A #2AAAA0
tetradic
#A02AAA #AA602A #34AA2A #2A74AA
square
#A02AAA #AA602A #34AA2A #2A74AA
split-complementary
#A02AAA #74AA2A #2AAA60
monochromatic
#441248 #721E79 #A02AAA #C541D0 #D472DC

Accessibility & contrast

On white

6.16
#A02AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02AAA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AAA#FFFFFF#000000##FFFFFF
##A02AAA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#A34168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aaa;
/* rgb */ color: rgb(160, 42, 170);
/* oklch */ color: oklch(52.1% 0.209 324.5);
Tailwind
colors: {
  custom: {
    50: '#c071c4',
    500: '#a02aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a02aaa;
$custom-light: #c071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aaa",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 295.313,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.20897,
    "h": 324.5
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#A02AAA
secondary
#73C36C
accent
#E44451
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A02AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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