#A02CAF#A02CAF

#A02CAF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.211 H 322.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A02CAF
RGBrgb(160, 44, 175)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 69%)
CMYKcmyk(8.6%, 74.9%, 0%, 31.4%)
CIE-LABlab(41.80, 63.05, -45.61)
CIE-LCHlch(41.80, 77.81, 324.12°)
OKLaboklab(52.6% 0.1681 -0.1274)
OKLCHoklch(52.6% 0.211 322.8)
XYZxyz(23.1350, 12.3715, 41.7185)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CAF #3BAF2C
analogous
#5F2CAF #A02CAF #AF2C7C
triadic
#A02CAF #AFA02C #2CAFA0
tetradic
#A02CAF #AF5F2C #3BAF2C #2C7CAF
square
#A02CAF #AF5F2C #3BAF2C #2C7CAF
split-complementary
#A02CAF #7CAF2C #2CAF5F
monochromatic
#47134D #73207E #A02CAF #C147D1 #D278DD

Accessibility & contrast

On white

6.04
#A02CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A02CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CAF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CAF#FFFFFF#000000##FFFFFF
##A02CAF1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#A2456C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02caf;
/* rgb */ color: rgb(160, 44, 175);
/* oklch */ color: oklch(52.6% 0.211 322.8);
Tailwind
colors: {
  custom: {
    50: '#c072c7',
    500: '#a02caf',
    950: '#000000',
  },
}
SCSS
$custom: #a02caf;
$custom-light: #c072c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02caf",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 293.13,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.21096,
    "h": 322.8
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#A02CAF
secondary
#7BC572
accent
#E34557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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