#A02FA5#A02FA5

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

Color values

HEX#A02FA5
RGBrgb(160, 47, 165)
HSLhsl(297, 56%, 42%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(3%, 71.5%, 0%, 35.3%)
CIE-LABlab(41.57, 60.26, -40.02)
CIE-LCHlch(41.57, 72.34, 326.41°)
OKLaboklab(52.24% 0.1657 -0.1111)
OKLCHoklch(52.24% 0.2 326.1)
XYZxyz(22.3048, 12.2247, 36.7748)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA5 #34A52F
analogous
#652FA5 #A02FA5 #A52F6F
triadic
#A02FA5 #A5A02F #2FA5A0
tetradic
#A02FA5 #A5652F #34A52F #2F6FA5
square
#A02FA5 #A5652F #34A52F #2F6FA5
split-complementary
#A02FA5 #6FA52F #2FA565
monochromatic
#441446 #722175 #A02FA5 #C547CB #D476D8

Accessibility & contrast

On white

6.10
#A02FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02FA5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA5#FFFFFF#000000##FFFFFF
##A02FA51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#A44267
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa5;
/* rgb */ color: rgb(160, 47, 165);
/* oklch */ color: oklch(52.2% 0.200 326.1);
Tailwind
colors: {
  custom: {
    50: '#c073c0',
    500: '#a02fa5',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa5;
$custom-light: #c073c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa5",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 297.458,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.19951,
    "h": 326.1
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#A02FA5
secondary
#73C070
accent
#DF494F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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