#A02CA6#A02CA6

#A02CA6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 325.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A02CA6
RGBrgb(160, 44, 166)
HSLhsl(297, 58%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(3.6%, 73.5%, 0%, 34.9%)
CIE-LABlab(41.26, 61.47, -41.11)
CIE-LCHlch(41.26, 73.95, 326.23°)
OKLaboklab(52.04% 0.1686 -0.1143)
OKLCHoklch(52.04% 0.204 325.9)
XYZxyz(22.2804, 12.0296, 37.2174)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CA6 #32A62C
analogous
#632CA6 #A02CA6 #A62C6F
triadic
#A02CA6 #A6A02C #2CA6A0
tetradic
#A02CA6 #A6632C #32A62C #2C6FA6
square
#A02CA6 #A6632C #32A62C #2C6FA6
split-complementary
#A02CA6 #6FA62C #2CA663
monochromatic
#431245 #711F76 #A02CA6 #C642CD #D573DA

Accessibility & contrast

On white

6.17
#A02CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A02CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CA6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CA6#FFFFFF#000000##FFFFFF
##A02CA61.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A9
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#A44167
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ca6;
/* rgb */ color: rgb(160, 44, 166);
/* oklch */ color: oklch(52.0% 0.204 325.9);
Tailwind
colors: {
  custom: {
    50: '#c071c1',
    500: '#a02ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a02ca6;
$custom-light: #c071c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ca6",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 297.049,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.20365,
    "h": 325.9
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#A02CA6
secondary
#71C16D
accent
#E1464E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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