#A02AC3#A02AC3

#A02AC3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.229 H 316.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A02AC3
RGBrgb(160, 42, 195)
HSLhsl(286, 65%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(17.9%, 78.5%, 0%, 23.5%)
CIE-LABlab(42.87, 67.35, -55.65)
CIE-LCHlch(42.87, 87.37, 320.44°)
OKLaboklab(53.76% 0.1675 -0.1568)
OKLCHoklch(53.76% 0.229 316.9)
XYZxyz(25.1740, 13.0707, 52.8160)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AC3 #4DC32A
analogous
#542AC3 #A02AC3 #C32A9A
triadic
#A02AC3 #C3A02A #2AC3A0
tetradic
#A02AC3 #C3542A #4DC32A #2A9AC3
square
#A02AC3 #C3542A #4DC32A #2A9AC3
split-complementary
#A02AC3 #9AC32A #2AC354
monochromatic
#4D145E #771F91 #A02AC3 #BA51D9 #CE83E4

Accessibility & contrast

On white

5.81
#A02AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A02AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AC3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AC3#FFFFFF#000000##FFFFFF
##A02AC31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2B69C0
Tritanopia (blue-blind)
#9E4D77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02ac3;
/* rgb */ color: rgb(160, 42, 195);
/* oklch */ color: oklch(53.8% 0.229 316.9);
Tailwind
colors: {
  custom: {
    50: '#c172d6',
    500: '#a02ac3',
    950: '#000000',
  },
}
SCSS
$custom: #a02ac3;
$custom-light: #c172d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ac3",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 286.275,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.22948,
    "h": 316.9
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#A02AC3
secondary
#8ECD7B
accent
#E84067
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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