#A02FA4#A02FA4

#A02FA4 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.199 H 326.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A02FA4
RGBrgb(160, 47, 164)
HSLhsl(298, 55%, 41%)
HSVhsv(298, 71%, 64%)
CMYKcmyk(2.4%, 71.3%, 0%, 35.7%)
CIE-LABlab(41.51, 60.08, -39.51)
CIE-LCHlch(41.51, 71.91, 326.67°)
OKLaboklab(52.18% 0.1657 -0.1097)
OKLCHoklch(52.18% 0.199 326.5)
XYZxyz(22.2142, 12.1884, 36.2973)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA4 #33A42F
analogous
#662FA4 #A02FA4 #A42F6E
triadic
#A02FA4 #A4A02F #2FA4A0
tetradic
#A02FA4 #A4662F #33A42F #2F6EA4
square
#A02FA4 #A4662F #33A42F #2F6EA4
split-complementary
#A02FA4 #6EA42F #2FA466
monochromatic
#431445 #722174 #A02FA4 #C646CA #D476D8

Accessibility & contrast

On white

6.11
#A02FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A02FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA4#FFFFFF#000000##FFFFFF
##A02FA41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#A44266
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa4;
/* rgb */ color: rgb(160, 47, 164);
/* oklch */ color: oklch(52.2% 0.199 326.5);
Tailwind
colors: {
  custom: {
    50: '#c073bf',
    500: '#a02fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa4;
$custom-light: #c073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa4",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 297.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.19869,
    "h": 326.5
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#A02FA4
secondary
#72C06F
accent
#DF494E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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