#A02DA4#A02DA4

#A02DA4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.201 H 326.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A02DA4
RGBrgb(160, 45, 164)
HSLhsl(298, 57%, 41%)
HSVhsv(298, 73%, 64%)
CMYKcmyk(2.4%, 72.6%, 0%, 35.7%)
CIE-LABlab(41.27, 60.78, -39.91)
CIE-LCHlch(41.27, 72.71, 326.71°)
OKLaboklab(52.01% 0.1677 -0.1108)
OKLCHoklch(52.01% 0.201 326.5)
XYZxyz(22.1360, 12.0322, 36.2713)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DA4 #31A42D
analogous
#642DA4 #A02DA4 #A42D6C
triadic
#A02DA4 #A4A02D #2DA4A0
tetradic
#A02DA4 #A4642D #31A42D #2D6CA4
square
#A02DA4 #A4642D #31A42D #2D6CA4
split-complementary
#A02DA4 #6CA42D #2DA464
monochromatic
#421344 #712074 #A02DA4 #C743CB #D573D9

Accessibility & contrast

On white

6.17
#A02DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02DA4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DA4#FFFFFF#000000##FFFFFF
##A02DA41.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1058A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#A44066
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02da4;
/* rgb */ color: rgb(160, 45, 164);
/* oklch */ color: oklch(52.0% 0.201 326.5);
Tailwind
colors: {
  custom: {
    50: '#c072bf',
    500: '#a02da4',
    950: '#000000',
  },
}
SCSS
$custom: #a02da4;
$custom-light: #c072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02da4",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 297.983,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.20096,
    "h": 326.5
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#A02DA4
secondary
#70C06D
accent
#E0484D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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