#A02CA2#A02CA2

#A02CA2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.200 H 327.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A02CA2
RGBrgb(160, 44, 162)
HSLhsl(299, 57%, 40%)
HSVhsv(299, 73%, 64%)
CMYKcmyk(1.2%, 72.8%, 0%, 36.5%)
CIE-LABlab(41.03, 60.79, -39.08)
CIE-LCHlch(41.03, 72.27, 327.26°)
OKLaboklab(51.8% 0.1686 -0.1084)
OKLCHoklch(51.8% 0.2 327.3)
XYZxyz(21.9191, 11.8851, 35.3150)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CA2 #2EA22C
analogous
#652CA2 #A02CA2 #A22C69
triadic
#A02CA2 #A2A02C #2CA2A0
tetradic
#A02CA2 #A2652C #2EA22C #2C69A2
square
#A02CA2 #A2652C #2EA22C #2C69A2
split-complementary
#A02CA2 #69A22C #2CA265
monochromatic
#411242 #701F72 #A02CA2 #C940CB #D670D8

Accessibility & contrast

On white

6.22
#A02CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A02CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CA2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CA2#FFFFFF#000000##FFFFFF
##A02CA21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#A53F65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ca2;
/* rgb */ color: rgb(160, 44, 162);
/* oklch */ color: oklch(51.8% 0.200 327.3);
Tailwind
colors: {
  custom: {
    50: '#c071be',
    500: '#a02ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a02ca2;
$custom-light: #c071be;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ca2",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 298.983,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.20046,
    "h": 327.3
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#A02CA2
secondary
#6CBF6A
accent
#E1474A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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