#A02DC4#A02DC4

#A02DC4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.228 H 316.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A02DC4
RGBrgb(160, 45, 196)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 77%)
CMYKcmyk(18.4%, 77%, 0%, 23.1%)
CIE-LABlab(43.27, 66.59, -55.59)
CIE-LCHlch(43.27, 86.74, 320.15°)
OKLaboklab(54.07% 0.165 -0.1567)
OKLCHoklch(54.07% 0.228 316.5)
XYZxyz(25.3979, 13.3369, 53.4503)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DC4 #51C42D
analogous
#542DC4 #A02DC4 #C42D9D
triadic
#A02DC4 #C4A02D #2DC4A0
tetradic
#A02DC4 #C4542D #51C42D #2D9DC4
square
#A02DC4 #C4542D #51C42D #2D9DC4
split-complementary
#A02DC4 #9DC42D #2DC454
monochromatic
#4F1660 #772292 #A02DC4 #B956D8 #CE88E4

Accessibility & contrast

On white

5.73
#A02DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A02DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DC4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DC4#FFFFFF#000000##FFFFFF
##A02DC41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2D69C1
Tritanopia (blue-blind)
#9E4F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02dc4;
/* rgb */ color: rgb(160, 45, 196);
/* oklch */ color: oklch(54.1% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#c173d7',
    500: '#a02dc4',
    950: '#000000',
  },
}
SCSS
$custom: #a02dc4;
$custom-light: #c173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02dc4",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 285.695,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54067,
    "c": 0.2275,
    "h": 316.5
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#A02DC4
secondary
#92CD80
accent
#E64269
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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