#A02AAB#A02AAB

#A02AAB is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.210 H 324.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A02AAB
RGBrgb(160, 42, 171)
HSLhsl(295, 61%, 42%)
HSVhsv(295, 75%, 67%)
CMYKcmyk(6.4%, 75.4%, 0%, 32.9%)
CIE-LABlab(41.33, 63.00, -43.98)
CIE-LCHlch(41.33, 76.83, 325.08°)
OKLaboklab(52.18% 0.1702 -0.1227)
OKLCHoklch(52.18% 0.21 324.2)
XYZxyz(22.6752, 12.0712, 39.6558)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AAB #35AB2A
analogous
#602AAB #A02AAB #AB2A76
triadic
#A02AAB #ABA02A #2AABA0
tetradic
#A02AAB #AB602A #35AB2A #2A76AB
square
#A02AAB #AB602A #35AB2A #2A76AB
split-complementary
#A02AAB #76AB2A #2AAB60
monochromatic
#441249 #721E7A #A02AAB #C442D1 #D473DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02AAB#FFFFFF#000000##FFFFFF
##A02AAB1.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)
#0059AE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#A34269
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02aab;
/* rgb */ color: rgb(160, 42, 171);
/* oklch */ color: oklch(52.2% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#c071c4',
    500: '#a02aab',
    950: '#000000',
  },
}
SCSS
$custom: #a02aab;
$custom-light: #c071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aab",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 294.884,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.20978,
    "h": 324.2
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

primary
#A02AAB
secondary
#74C46D
accent
#E44452
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A02AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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