#A02DA1#A02DA1

#A02DA1 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 327.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A02DA1
RGBrgb(160, 45, 161)
HSLhsl(299, 56%, 40%)
HSVhsv(299, 72%, 63%)
CMYKcmyk(0.6%, 72%, 0%, 36.9%)
CIE-LABlab(41.10, 60.27, -38.38)
CIE-LCHlch(41.10, 71.46, 327.51°)
OKLaboklab(51.83% 0.1677 -0.1064)
OKLCHoklch(51.83% 0.199 327.6)
XYZxyz(21.8683, 11.9251, 34.8613)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DA1 #2EA12D
analogous
#662DA1 #A02DA1 #A12D68
triadic
#A02DA1 #A1A02D #2DA1A0
tetradic
#A02DA1 #A1662D #2EA12D #2D68A1
square
#A02DA1 #A1662D #2EA12D #2D68A1
split-complementary
#A02DA1 #68A12D #2DA166
monochromatic
#411241 #702071 #A02DA1 #C941CA #D671D7

Accessibility & contrast

On white

6.20
#A02DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A02DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DA1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DA1#FFFFFF#000000##FFFFFF
##A02DA11.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#4B669E
Tritanopia (blue-blind)
#A53F64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02da1;
/* rgb */ color: rgb(160, 45, 161);
/* oklch */ color: oklch(51.8% 0.199 327.6);
Tailwind
colors: {
  custom: {
    50: '#c072bd',
    500: '#a02da1',
    950: '#000000',
  },
}
SCSS
$custom: #a02da1;
$custom-light: #c072bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02da1",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 299.483,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.19856,
    "h": 327.6
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#A02DA1
secondary
#6CBF6B
accent
#E0484A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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