#A02AA3#A02AA3

#A02AA3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.203 H 326.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A02AA3
RGBrgb(160, 42, 163)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.8%, 74.2%, 0%, 36.1%)
CIE-LABlab(40.86, 61.62, -39.96)
CIE-LCHlch(40.86, 73.45, 327.04°)
OKLaboklab(51.7% 0.1705 -0.1109)
OKLCHoklch(51.7% 0.203 326.9)
XYZxyz(21.9357, 11.7754, 35.7608)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AA3 #2DA32A
analogous
#632AA3 #A02AA3 #A32A6A
triadic
#A02AA3 #A3A02A #2AA3A0
tetradic
#A02AA3 #A3632A #2DA32A #2A6AA3
square
#A02AA3 #A3632A #2DA32A #2A6AA3
split-complementary
#A02AA3 #6AA32A #2AA363
monochromatic
#401142 #701D72 #A02AA3 #C93DCD #D76EDA

Accessibility & contrast

On white

6.26
#A02AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A02AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AA3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AA3#FFFFFF#000000##FFFFFF
##A02AA31.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#A53E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02aa3;
/* rgb */ color: rgb(160, 42, 163);
/* oklch */ color: oklch(51.7% 0.203 326.9);
Tailwind
colors: {
  custom: {
    50: '#c070bf',
    500: '#a02aa3',
    950: '#000000',
  },
}
SCSS
$custom: #a02aa3;
$custom-light: #c070bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aa3",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 298.512,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.2034,
    "h": 326.9
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#A02AA3
secondary
#6BC068
accent
#E24649
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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