#A02AC9#A02AC9

#A02AC9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.234 H 315.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A02AC9
RGBrgb(160, 42, 201)
HSLhsl(285, 65%, 48%)
HSVhsv(285, 79%, 79%)
CMYKcmyk(20.4%, 79.1%, 0%, 21.2%)
CIE-LABlab(43.28, 68.49, -58.47)
CIE-LCHlch(43.28, 90.05, 319.51°)
OKLaboklab(54.19% 0.1665 -0.1651)
OKLCHoklch(54.19% 0.234 315.2)
XYZxyz(25.8661, 13.3475, 56.4608)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AC9 #53C92A
analogous
#502AC9 #A02AC9 #C92AA3
triadic
#A02AC9 #C9A02A #2AC9A0
tetradic
#A02AC9 #C9502A #53C92A #2AA3C9
square
#A02AC9 #C9502A #53C92A #2AA3C9
split-complementary
#A02AC9 #A3C92A #2AC950
monochromatic
#4F1564 #781F96 #A02AC9 #B955DB #CE87E6

Accessibility & contrast

On white

5.72
#A02AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A02AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AC9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AC9#FFFFFF#000000##FFFFFF
##A02AC91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#2269C6
Tritanopia (blue-blind)
#9D507A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02ac9;
/* rgb */ color: rgb(160, 42, 201);
/* oklch */ color: oklch(54.2% 0.234 315.2);
Tailwind
colors: {
  custom: {
    50: '#c172da',
    500: '#a02ac9',
    950: '#000000',
  },
}
SCSS
$custom: #a02ac9;
$custom-light: #c172da;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ac9",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 284.528,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.23449,
    "h": 315.2
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#A02AC9
secondary
#94D07F
accent
#E83F6B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A02AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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