#A02E9F#A02E9F

#A02E9F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.196 H 328.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A02E9F
RGBrgb(160, 46, 159)
HSLhsl(301, 55%, 40%)
HSVhsv(301, 71%, 63%)
CMYKcmyk(0%, 71.2%, 0.6%, 37.3%)
CIE-LABlab(41.11, 59.59, -37.16)
CIE-LCHlch(41.11, 70.22, 328.05°)
OKLaboklab(51.8% 0.1667 -0.1028)
OKLCHoklch(51.8% 0.196 328.3)
XYZxyz(21.7320, 11.9323, 33.9527)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E9F #2EA02F
analogous
#682EA0 #A02E9F #A02E66
triadic
#A02E9F #9FA02E #2E9FA0
tetradic
#A02E9F #A0682E #2EA02F #2E66A0
square
#A02E9F #A0682E #2EA02F #2E66A0
split-complementary
#A02E9F #66A02E #2EA068
monochromatic
#411341 #702070 #A02E9F #C942C8 #D672D6

Accessibility & contrast

On white

6.20
#A02E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A02E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E9F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E9F#FFFFFF#000000##FFFFFF
##A02E9F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A53F63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02e9f;
/* rgb */ color: rgb(160, 46, 159);
/* oklch */ color: oklch(51.8% 0.196 328.3);
Tailwind
colors: {
  custom: {
    50: '#c072bc',
    500: '#a02e9f',
    950: '#000000',
  },
}
SCSS
$custom: #a02e9f;
$custom-light: #c072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e9f",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 300.526,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.19583,
    "h": 328.3
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#A02E9F
secondary
#6CBE6D
accent
#DF4A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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