#A02AC6#A02AC6

#A02AC6 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.232 H 316.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A02AC6
RGBrgb(160, 42, 198)
HSLhsl(285, 65%, 47%)
HSVhsv(285, 79%, 78%)
CMYKcmyk(19.2%, 78.8%, 0%, 22.4%)
CIE-LABlab(43.07, 67.92, -57.06)
CIE-LCHlch(43.07, 88.71, 319.97°)
OKLaboklab(53.97% 0.1671 -0.161)
OKLCHoklch(53.97% 0.232 316.1)
XYZxyz(25.5166, 13.2078, 54.6204)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AC6 #50C62A
analogous
#522AC6 #A02AC6 #C62A9E
triadic
#A02AC6 #C6A02A #2AC6A0
tetradic
#A02AC6 #C6522A #50C62A #2A9EC6
square
#A02AC6 #C6522A #50C62A #2A9EC6
split-complementary
#A02AC6 #9EC62A #2AC652
monochromatic
#4E1561 #771F94 #A02AC6 #B953DA #CE85E5

Accessibility & contrast

On white

5.77
#A02AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A02AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AC6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AC6#FFFFFF#000000##FFFFFF
##A02AC61.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#9D4F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02ac6;
/* rgb */ color: rgb(160, 42, 198);
/* oklch */ color: oklch(54.0% 0.232 316.1);
Tailwind
colors: {
  custom: {
    50: '#c172d8',
    500: '#a02ac6',
    950: '#000000',
  },
}
SCSS
$custom: #a02ac6;
$custom-light: #c172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ac6",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 198
  },
  "hsl": {
    "h": 285.385,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.23199,
    "h": 316.1
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#A02AC6
secondary
#91CE7D
accent
#E84069
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A02AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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