#A02A96#A02A96

#A02A96 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.193 H 331.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A02A96
RGBrgb(160, 42, 150)
HSLhsl(305, 58%, 40%)
HSVhsv(305, 74%, 63%)
CMYKcmyk(0%, 73.8%, 6.2%, 37.3%)
CIE-LABlab(40.14, 59.49, -33.27)
CIE-LCHlch(40.14, 68.16, 330.79°)
OKLaboklab(50.95% 0.1703 -0.0915)
OKLCHoklch(50.95% 0.193 331.7)
XYZxyz(20.8302, 11.3332, 29.9387)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A96 #2AA034
analogous
#6F2AA0 #A02A96 #A02A5B
triadic
#A02A96 #96A02A #2A96A0
tetradic
#A02A96 #A06F2A #2AA034 #2A5BA0
square
#A02A96 #A06F2A #2AA034 #2A5BA0
split-complementary
#A02A96 #5BA02A #2AA06F
monochromatic
#3F113B #701D69 #A02A96 #CC3CBF #D86CCF

Accessibility & contrast

On white

6.43
#A02A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A02A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A96
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A96#FFFFFF#000000##FFFFFF
##A02A961.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#A7385D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02a96;
/* rgb */ color: rgb(160, 42, 150);
/* oklch */ color: oklch(50.9% 0.193 331.7);
Tailwind
colors: {
  custom: {
    50: '#c070b5',
    500: '#a02a96',
    950: '#000000',
  },
}
SCSS
$custom: #a02a96;
$custom-light: #c070b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a96",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 305.085,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.19337,
    "h": 331.7
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#A02A96
secondary
#67BF6E
accent
#E25346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02A96

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

Preview Lab → · Contrast checker → · Palette generator →

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