#A02E9A#A02E9A

#A02E9A is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.192 H 330.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A02E9A
RGBrgb(160, 46, 154)
HSLhsl(303, 55%, 40%)
HSVhsv(303, 71%, 63%)
CMYKcmyk(0%, 71.2%, 3.8%, 37.3%)
CIE-LABlab(40.84, 58.75, -34.58)
CIE-LCHlch(40.84, 68.18, 329.52°)
OKLaboklab(51.52% 0.1665 -0.0954)
OKLCHoklch(51.52% 0.192 330.2)
XYZxyz(21.3068, 11.7623, 31.7137)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E9A #2EA034
analogous
#6D2EA0 #A02E9A #A02E61
triadic
#A02E9A #9AA02E #2E9AA0
tetradic
#A02E9A #A06D2E #2EA034 #2E61A0
square
#A02E9A #A06D2E #2EA034 #2E61A0
split-complementary
#A02E9A #61A02E #2EA06D
monochromatic
#41133E #70206C #A02E9A #C942C2 #D672D1

Accessibility & contrast

On white

6.26
#A02E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A02E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E9A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E9A#FFFFFF#000000##FFFFFF
##A02E9A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#A63C61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02e9a;
/* rgb */ color: rgb(160, 46, 154);
/* oklch */ color: oklch(51.5% 0.192 330.2);
Tailwind
colors: {
  custom: {
    50: '#c072b8',
    500: '#a02e9a',
    950: '#000000',
  },
}
SCSS
$custom: #a02e9a;
$custom-light: #c072b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e9a",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 303.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.19189,
    "h": 330.2
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#A02E9A
secondary
#6CBE70
accent
#DF5149
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A02E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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