#A02DA7#A02DA7

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

Color values

HEX#A02DA7
RGBrgb(160, 45, 167)
HSLhsl(297, 58%, 42%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(4.2%, 73.1%, 0%, 34.5%)
CIE-LABlab(41.44, 61.30, -41.42)
CIE-LCHlch(41.44, 73.99, 325.95°)
OKLaboklab(52.19% 0.1676 -0.1152)
OKLCHoklch(52.19% 0.203 325.5)
XYZxyz(22.4101, 12.1418, 37.7150)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DA7 #34A72D
analogous
#632DA7 #A02DA7 #A72D71
triadic
#A02DA7 #A7A02D #2DA7A0
tetradic
#A02DA7 #A7632D #34A72D #2D71A7
square
#A02DA7 #A7632D #34A72D #2D71A7
split-complementary
#A02DA7 #71A72D #2DA763
monochromatic
#441347 #722077 #A02DA7 #C544CD #D475DA

Accessibility & contrast

On white

6.13
#A02DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A02DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DA7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DA7#FFFFFF#000000##FFFFFF
##A02DA71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0759AA
Deuteranopia (green-blind)
#4767A4
Tritanopia (blue-blind)
#A44268
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02da7;
/* rgb */ color: rgb(160, 45, 167);
/* oklch */ color: oklch(52.2% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#c072c2',
    500: '#a02da7',
    950: '#000000',
  },
}
SCSS
$custom: #a02da7;
$custom-light: #c072c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02da7",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 296.557,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.20337,
    "h": 325.5
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#A02DA7
secondary
#73C16E
accent
#E14750
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A02DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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