#A22A96#A22A96

#A22A96 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.194 H 332.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A22A96
RGBrgb(162, 42, 150)
HSLhsl(306, 59%, 40%)
HSVhsv(306, 74%, 64%)
CMYKcmyk(0%, 74.1%, 7.4%, 36.5%)
CIE-LABlab(40.48, 59.95, -32.71)
CIE-LCHlch(40.48, 68.29, 331.39°)
OKLaboklab(51.26% 0.1724 -0.0899)
OKLCHoklch(51.26% 0.194 332.5)
XYZxyz(21.2334, 11.5411, 29.9576)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A96 #2AA236
analogous
#722AA2 #A22A96 #A22A5A
triadic
#A22A96 #96A22A #2A96A2
tetradic
#A22A96 #A2722A #2AA236 #2A5AA2
square
#A22A96 #A2722A #2AA236 #2A5AA2
split-complementary
#A22A96 #5AA22A #2AA272
monochromatic
#41113C #711D69 #A22A96 #CD3DBE #D96DCE

Accessibility & contrast

On white

6.35
#A22A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A22A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A96
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A96#FFFFFF#000000##FFFFFF
##A22A961.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A9375D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22a96;
/* rgb */ color: rgb(162, 42, 150);
/* oklch */ color: oklch(51.3% 0.194 332.5);
Tailwind
colors: {
  custom: {
    50: '#c170b5',
    500: '#a22a96',
    950: '#000000',
  },
}
SCSS
$custom: #a22a96;
$custom-light: #c170b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a96",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 306,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.19444,
    "h": 332.5
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#A22A96
secondary
#68C071
accent
#E25546
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A96

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

Preview Lab → · Contrast checker → · Palette generator →

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