#A02AAF#A02AAF

#A02AAF is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 322.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A02AAF
RGBrgb(160, 42, 175)
HSLhsl(293, 61%, 43%)
HSVhsv(293, 76%, 69%)
CMYKcmyk(8.6%, 76%, 0%, 31.4%)
CIE-LABlab(41.57, 63.70, -45.97)
CIE-LCHlch(41.57, 78.55, 324.18°)
OKLaboklab(52.44% 0.1699 -0.1285)
OKLCHoklch(52.44% 0.213 322.9)
XYZxyz(23.0623, 12.2260, 41.6943)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AAF #39AF2A
analogous
#5D2AAF #A02AAF #AF2A7C
triadic
#A02AAF #AFA02A #2AAFA0
tetradic
#A02AAF #AF5D2A #39AF2A #2A7CAF
square
#A02AAF #AF5D2A #39AF2A #2A7CAF
split-complementary
#A02AAF #7CAF2A #2AAF5D
monochromatic
#46124C #731E7E #A02AAF #C244D2 #D275DE

Accessibility & contrast

On white

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

On black

3.45
#A02AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A02AAF#FFFFFF#000000##FFFFFF
##A02AAF1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#A2446B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02aaf;
/* rgb */ color: rgb(160, 42, 175);
/* oklch */ color: oklch(52.4% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#c071c7',
    500: '#a02aaf',
    950: '#000000',
  },
}
SCSS
$custom: #a02aaf;
$custom-light: #c071c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aaf",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 293.233,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.21301,
    "h": 322.9
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#A02AAF
secondary
#79C66F
accent
#E44356
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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