#A02DC1#A02DC1

#A02DC1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.225 H 317.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A02DC1
RGBrgb(160, 45, 193)
HSLhsl(287, 62%, 47%)
HSVhsv(287, 77%, 76%)
CMYKcmyk(17.1%, 76.7%, 0%, 24.3%)
CIE-LABlab(43.07, 66.02, -54.16)
CIE-LCHlch(43.07, 85.40, 320.64°)
OKLaboklab(53.86% 0.1654 -0.1525)
OKLCHoklch(53.86% 0.225 317.3)
XYZxyz(25.0598, 13.2017, 51.6699)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DC1 #4EC12D
analogous
#562DC1 #A02DC1 #C12D98
triadic
#A02DC1 #C1A02D #2DC1A0
tetradic
#A02DC1 #C1562D #4EC12D #2D98C1
square
#A02DC1 #C1562D #4EC12D #2D98C1
split-complementary
#A02DC1 #98C12D #2DC156
monochromatic
#4E165E #77218F #A02DC1 #BA54D7 #CE86E3

Accessibility & contrast

On white

5.77
#A02DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A02DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DC1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DC1#FFFFFF#000000##FFFFFF
##A02DC11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#3169BE
Tritanopia (blue-blind)
#9E4E76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02dc1;
/* rgb */ color: rgb(160, 45, 193);
/* oklch */ color: oklch(53.9% 0.225 317.3);
Tailwind
colors: {
  custom: {
    50: '#c073d4',
    500: '#a02dc1',
    950: '#000000',
  },
}
SCSS
$custom: #a02dc1;
$custom-light: #c073d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02dc1",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 286.622,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.22495,
    "h": 317.3
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#A02DC1
secondary
#8FCC7E
accent
#E54367
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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