#A02DAA#A02DAA

#A02DAA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.206 H 324.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A02DAA
RGBrgb(160, 45, 170)
HSLhsl(295, 58%, 42%)
HSVhsv(295, 74%, 67%)
CMYKcmyk(5.9%, 73.5%, 0%, 33.3%)
CIE-LABlab(41.62, 61.83, -42.93)
CIE-LCHlch(41.62, 75.27, 325.23°)
OKLaboklab(52.37% 0.1675 -0.1196)
OKLCHoklch(52.37% 0.206 324.5)
XYZxyz(22.6907, 12.2541, 39.1925)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DAA #37AA2D
analogous
#622DAA #A02DAA #AA2D76
triadic
#A02DAA #AAA02D #2DAAA0
tetradic
#A02DAA #AA622D #37AA2D #2D76AA
square
#A02DAA #AA622D #37AA2D #2D76AA
split-complementary
#A02DAA #76AA2D #2DAA62
monochromatic
#451349 #72207A #A02DAA #C346CE #D377DB

Accessibility & contrast

On white

6.09
#A02DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A02DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DAA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DAA#FFFFFF#000000##FFFFFF
##A02DAA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#A34369
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02daa;
/* rgb */ color: rgb(160, 45, 170);
/* oklch */ color: oklch(52.4% 0.206 324.5);
Tailwind
colors: {
  custom: {
    50: '#c072c4',
    500: '#a02daa',
    950: '#000000',
  },
}
SCSS
$custom: #a02daa;
$custom-light: #c072c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02daa",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 295.2,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.20581,
    "h": 324.5
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#A02DAA
secondary
#77C370
accent
#E14653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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