#A02CC4#A02CC4

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

Color values

HEX#A02CC4
RGBrgb(160, 44, 196)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 78%, 77%)
CMYKcmyk(18.4%, 77.6%, 0%, 23.1%)
CIE-LABlab(43.15, 66.91, -55.77)
CIE-LCHlch(43.15, 87.11, 320.19°)
OKLaboklab(53.99% 0.1658 -0.1572)
OKLCHoklch(53.99% 0.228 316.5)
XYZxyz(25.3602, 13.2615, 53.4377)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CC4 #50C42C
analogous
#542CC4 #A02CC4 #C42C9C
triadic
#A02CC4 #C4A02C #2CC4A0
tetradic
#A02CC4 #C4542C #50C42C #2C9CC4
square
#A02CC4 #C4542C #50C42C #2C9CC4
split-complementary
#A02CC4 #9CC42C #2CC454
monochromatic
#4E1660 #772192 #A02CC4 #B954D9 #CE86E4

Accessibility & contrast

On white

5.75
#A02CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A02CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CC4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CC4#FFFFFF#000000##FFFFFF
##A02CC41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02cc4;
/* rgb */ color: rgb(160, 44, 196);
/* oklch */ color: oklch(54.0% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#c173d7',
    500: '#a02cc4',
    950: '#000000',
  },
}
SCSS
$custom: #a02cc4;
$custom-light: #c173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cc4",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 285.789,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.22845,
    "h": 316.5
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#A02CC4
secondary
#91CD7E
accent
#E64168
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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