#A22D97#A22D97

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

Color values

HEX#A22D97
RGBrgb(162, 45, 151)
HSLhsl(306, 57%, 41%)
HSVhsv(306, 72%, 64%)
CMYKcmyk(0%, 72.2%, 6.8%, 36.5%)
CIE-LABlab(40.89, 59.09, -32.67)
CIE-LCHlch(40.89, 67.52, 331.07°)
OKLaboklab(51.57% 0.1695 -0.0898)
OKLCHoklch(51.57% 0.192 332.1)
XYZxyz(21.4246, 11.7943, 30.4203)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D97 #2DA238
analogous
#722DA2 #A22D97 #A22D5C
triadic
#A22D97 #97A22D #2D97A2
tetradic
#A22D97 #A2722D #2DA238 #2D5CA2
square
#A22D97 #A2722D #2DA238 #2D5CA2
split-complementary
#A22D97 #5CA22D #2DA272
monochromatic
#42123E #72206A #A22D97 #CA42BE #D872CE

Accessibility & contrast

On white

6.25
#A22D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A22D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D97
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D97#FFFFFF#000000##FFFFFF
##A22D971.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#A93A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d97;
/* rgb */ color: rgb(162, 45, 151);
/* oklch */ color: oklch(51.6% 0.192 332.1);
Tailwind
colors: {
  custom: {
    50: '#c171b6',
    500: '#a22d97',
    950: '#000000',
  },
}
SCSS
$custom: #a22d97;
$custom-light: #c171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d97",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 305.641,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.19183,
    "h": 332.1
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#A22D97
secondary
#6CBF73
accent
#E05648
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D97

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

Preview Lab → · Contrast checker → · Palette generator →

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