#A02FA3#A02FA3

#A02FA3 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.198 H 326.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A02FA3
RGBrgb(160, 47, 163)
HSLhsl(298, 55%, 41%)
HSVhsv(298, 71%, 64%)
CMYKcmyk(1.8%, 71.2%, 0%, 36.1%)
CIE-LABlab(41.46, 59.91, -39.01)
CIE-LCHlch(41.46, 71.49, 326.93°)
OKLaboklab(52.13% 0.1657 -0.1082)
OKLCHoklch(52.13% 0.198 326.9)
XYZxyz(22.1242, 12.1525, 35.8236)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA3 #32A32F
analogous
#662FA3 #A02FA3 #A32F6C
triadic
#A02FA3 #A3A02F #2FA3A0
tetradic
#A02FA3 #A3662F #32A32F #2F6CA3
square
#A02FA3 #A3662F #32A32F #2F6CA3
split-complementary
#A02FA3 #6CA32F #2FA366
monochromatic
#431444 #712173 #A02FA3 #C646CA #D575D7

Accessibility & contrast

On white

6.12
#A02FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A02FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA3#FFFFFF#000000##FFFFFF
##A02FA31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A6
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#A44166
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa3;
/* rgb */ color: rgb(160, 47, 163);
/* oklch */ color: oklch(52.1% 0.198 326.9);
Tailwind
colors: {
  custom: {
    50: '#c073bf',
    500: '#a02fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa3;
$custom-light: #c073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa3",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 298.448,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.19788,
    "h": 326.9
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#A02FA3
secondary
#71BF6F
accent
#DF494D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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