#A02FAA#A02FAA

#A02FAA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.204 H 324.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A02FAA
RGBrgb(160, 47, 170)
HSLhsl(295, 57%, 43%)
HSVhsv(295, 72%, 67%)
CMYKcmyk(5.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(41.86, 61.13, -42.54)
CIE-LCHlch(41.86, 74.48, 325.17°)
OKLaboklab(52.54% 0.1656 -0.1185)
OKLCHoklch(52.54% 0.204 324.4)
XYZxyz(22.7688, 12.4103, 39.2186)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FAA #39AA2F
analogous
#632FAA #A02FAA #AA2F76
triadic
#A02FAA #AAA02F #2FAAA0
tetradic
#A02FAA #AA632F #39AA2F #2F76AA
square
#A02FAA #AA632F #39AA2F #2F76AA
split-complementary
#A02FAA #76AA2F #2FAA63
monochromatic
#46144A #73227A #A02FAA #C249CD #D279DA

Accessibility & contrast

On white

6.03
#A02FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A02FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FAA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FAA#FFFFFF#000000##FFFFFF
##A02FAA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#A3446A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02faa;
/* rgb */ color: rgb(160, 47, 170);
/* oklch */ color: oklch(52.5% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#c073c4',
    500: '#a02faa',
    950: '#000000',
  },
}
SCSS
$custom: #a02faa;
$custom-light: #c073c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02faa",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 295.122,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.2036,
    "h": 324.4
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#A02FAA
secondary
#79C272
accent
#E04854
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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