#A02CA0#A02CA0

#A02CA0 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 328.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A02CA0
RGBrgb(160, 44, 160)
HSLhsl(300, 57%, 40%)
HSVhsv(300, 73%, 63%)
CMYKcmyk(0%, 72.5%, 0%, 37.3%)
CIE-LABlab(40.92, 60.45, -38.06)
CIE-LCHlch(40.92, 71.43, 327.80°)
OKLaboklab(51.69% 0.1686 -0.1054)
OKLCHoklch(51.69% 0.199 328)
XYZxyz(21.7428, 11.8146, 34.3861)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CA0 #2CA02C
analogous
#662CA0 #A02CA0 #A02C66
triadic
#A02CA0 #A0A02C #2CA0A0
tetradic
#A02CA0 #A0662C #2CA02C #2C66A0
square
#A02CA0 #A0662C #2CA02C #2C66A0
split-complementary
#A02CA0 #66A02C #2CA066
monochromatic
#401240 #701F70 #A02CA0 #CA3FCA #D76FD7

Accessibility & contrast

On white

6.25
#A02CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A02CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CA0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CA0#FFFFFF#000000##FFFFFF
##A02CA01.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A3
Deuteranopia (green-blind)
#4B669D
Tritanopia (blue-blind)
#A53E63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02ca0;
/* rgb */ color: rgb(160, 44, 160);
/* oklch */ color: oklch(51.7% 0.199 328.0);
Tailwind
colors: {
  custom: {
    50: '#c071bc',
    500: '#a02ca0',
    950: '#000000',
  },
}
SCSS
$custom: #a02ca0;
$custom-light: #c071bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ca0",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 300,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.19888,
    "h": 328
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#A02CA0
secondary
#69BF69
accent
#E04848
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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