#A02FA1#A02FA1

#A02FA1 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.196 H 327.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A02FA1
RGBrgb(160, 47, 161)
HSLhsl(299, 55%, 41%)
HSVhsv(299, 71%, 63%)
CMYKcmyk(0.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(41.35, 59.57, -37.99)
CIE-LCHlch(41.35, 70.65, 327.48°)
OKLaboklab(52.01% 0.1657 -0.1052)
OKLCHoklch(52.01% 0.196 327.6)
XYZxyz(21.9464, 12.0814, 34.8873)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA1 #30A12F
analogous
#672FA1 #A02FA1 #A12F69
triadic
#A02FA1 #A1A02F #2FA1A0
tetradic
#A02FA1 #A1672F #30A12F #2F69A1
square
#A02FA1 #A1672F #30A12F #2F69A1
split-complementary
#A02FA1 #69A12F #2FA167
monochromatic
#421342 #712172 #A02FA1 #C745C9 #D674D6

Accessibility & contrast

On white

6.15
#A02FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A02FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA1#FFFFFF#000000##FFFFFF
##A02FA11.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#A54065
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02fa1;
/* rgb */ color: rgb(160, 47, 161);
/* oklch */ color: oklch(52.0% 0.196 327.6);
Tailwind
colors: {
  custom: {
    50: '#c072bd',
    500: '#a02fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa1;
$custom-light: #c072bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa1",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 299.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.19627,
    "h": 327.6
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#A02FA1
secondary
#6EBE6E
accent
#DE4A4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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