#A02DC3#A02DC3

#A02DC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.227 H 316.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A02DC3
RGBrgb(160, 45, 195)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(17.9%, 76.9%, 0%, 23.5%)
CIE-LABlab(43.20, 66.40, -55.11)
CIE-LCHlch(43.20, 86.29, 320.31°)
OKLaboklab(54% 0.1651 -0.1553)
OKLCHoklch(54% 0.227 316.8)
XYZxyz(25.2844, 13.2916, 52.8528)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DC3 #50C32D
analogous
#552DC3 #A02DC3 #C32D9B
triadic
#A02DC3 #C3A02D #2DC3A0
tetradic
#A02DC3 #C3552D #50C32D #2D9BC3
square
#A02DC3 #C3552D #50C32D #2D9BC3
split-complementary
#A02DC3 #9BC32D #2DC355
monochromatic
#4E1660 #772291 #A02DC3 #B955D8 #CE87E3

Accessibility & contrast

On white

5.74
#A02DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A02DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DC3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DC3#FFFFFF#000000##FFFFFF
##A02DC31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#9E4F77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02dc3;
/* rgb */ color: rgb(160, 45, 195);
/* oklch */ color: oklch(54.0% 0.227 316.8);
Tailwind
colors: {
  custom: {
    50: '#c173d6',
    500: '#a02dc3',
    950: '#000000',
  },
}
SCSS
$custom: #a02dc3;
$custom-light: #c173d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02dc3",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 286,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53998,
    "c": 0.22665,
    "h": 316.8
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#A02DC3
secondary
#91CD7F
accent
#E64268
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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