#A02E9C#A02E9C

#A02E9C is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.193 H 329.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A02E9C
RGBrgb(160, 46, 156)
HSLhsl(302, 55%, 40%)
HSVhsv(302, 71%, 63%)
CMYKcmyk(0%, 71.2%, 2.5%, 37.3%)
CIE-LABlab(40.94, 59.08, -35.62)
CIE-LCHlch(40.94, 68.99, 328.92°)
OKLaboklab(51.63% 0.1666 -0.0984)
OKLCHoklch(51.63% 0.193 329.4)
XYZxyz(21.4748, 11.8295, 32.5983)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E9C #2EA032
analogous
#6B2EA0 #A02E9C #A02E63
triadic
#A02E9C #9CA02E #2E9CA0
tetradic
#A02E9C #A06B2E #2EA032 #2E63A0
square
#A02E9C #A06B2E #2EA032 #2E63A0
split-complementary
#A02E9C #63A02E #2EA06B
monochromatic
#41133F #70206E #A02E9C #C942C4 #D672D3

Accessibility & contrast

On white

6.24
#A02E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A02E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E9C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E9C#FFFFFF#000000##FFFFFF
##A02E9C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#4E6699
Tritanopia (blue-blind)
#A63D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02e9c;
/* rgb */ color: rgb(160, 46, 156);
/* oklch */ color: oklch(51.6% 0.193 329.4);
Tailwind
colors: {
  custom: {
    50: '#c072b9',
    500: '#a02e9c',
    950: '#000000',
  },
}
SCSS
$custom: #a02e9c;
$custom-light: #c072b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e9c",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 302.105,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.19346,
    "h": 329.4
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#A02E9C
secondary
#6CBE6F
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A02E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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