#A02A94#A02A94

#A02A94 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.192 H 332.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A02A94
RGBrgb(160, 42, 148)
HSLhsl(306, 58%, 40%)
HSVhsv(306, 74%, 63%)
CMYKcmyk(0%, 73.8%, 7.5%, 37.3%)
CIE-LABlab(40.03, 59.17, -32.22)
CIE-LCHlch(40.03, 67.38, 331.43°)
OKLaboklab(50.84% 0.1702 -0.0885)
OKLCHoklch(50.84% 0.192 332.5)
XYZxyz(20.6705, 11.2693, 29.0978)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A94 #2AA036
analogous
#712AA0 #A02A94 #A02A59
triadic
#A02A94 #94A02A #2A94A0
tetradic
#A02A94 #A0712A #2AA036 #2A59A0
square
#A02A94 #A0712A #2AA036 #2A59A0
split-complementary
#A02A94 #59A02A #2AA071
monochromatic
#3F113A #701D67 #A02A94 #CC3CBD #D86CCD

Accessibility & contrast

On white

6.45
#A02A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A02A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A94
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A94#FFFFFF#000000##FFFFFF
##A02A941.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#A7375C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02a94;
/* rgb */ color: rgb(160, 42, 148);
/* oklch */ color: oklch(50.8% 0.192 332.5);
Tailwind
colors: {
  custom: {
    50: '#c070b4',
    500: '#a02a94',
    950: '#000000',
  },
}
SCSS
$custom: #a02a94;
$custom-light: #c070b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a94",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 306.102,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.19187,
    "h": 332.5
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#A02A94
secondary
#67BF70
accent
#E25646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02A94

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

Preview Lab → · Contrast checker → · Palette generator →

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