#A02FA7#A02FA7

#A02FA7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.201 H 325.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A02FA7
RGBrgb(160, 47, 167)
HSLhsl(297, 56%, 42%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(4.2%, 71.9%, 0%, 34.5%)
CIE-LABlab(41.69, 60.60, -41.03)
CIE-LCHlch(41.69, 73.19, 325.90°)
OKLaboklab(52.36% 0.1657 -0.1141)
OKLCHoklch(52.36% 0.201 325.4)
XYZxyz(22.4883, 12.2981, 37.7410)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FA7 #36A72F
analogous
#642FA7 #A02FA7 #A72F72
triadic
#A02FA7 #A7A02F #2FA7A0
tetradic
#A02FA7 #A7642F #36A72F #2F72A7
square
#A02FA7 #A7642F #36A72F #2F72A7
split-complementary
#A02FA7 #72A72F #2FA764
monochromatic
#441447 #722277 #A02FA7 #C448CB #D378D9

Accessibility & contrast

On white

6.07
#A02FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A02FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FA7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FA7#FFFFFF#000000##FFFFFF
##A02FA71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E59AA
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#A44368
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02fa7;
/* rgb */ color: rgb(160, 47, 167);
/* oklch */ color: oklch(52.4% 0.201 325.4);
Tailwind
colors: {
  custom: {
    50: '#c073c2',
    500: '#a02fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a02fa7;
$custom-light: #c073c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fa7",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 296.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.20114,
    "h": 325.4
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#A02FA7
secondary
#75C171
accent
#DF4851
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A02FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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