#A22D93#A22D93

#A22D93 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.189 H 333.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A22D93
RGBrgb(162, 45, 147)
HSLhsl(308, 57%, 41%)
HSVhsv(308, 72%, 64%)
CMYKcmyk(0%, 72.2%, 9.3%, 36.5%)
CIE-LABlab(40.68, 58.46, -30.57)
CIE-LCHlch(40.68, 65.97, 332.40°)
OKLaboklab(51.35% 0.1693 -0.0837)
OKLCHoklch(51.35% 0.189 333.7)
XYZxyz(21.1053, 11.6665, 28.7384)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D93 #2DA23C
analogous
#762DA2 #A22D93 #A22D59
triadic
#A22D93 #93A22D #2D93A2
tetradic
#A22D93 #A2762D #2DA23C #2D59A2
square
#A22D93 #A2762D #2DA23C #2D59A2
split-complementary
#A22D93 #59A22D #2DA276
monochromatic
#42123C #722068 #A22D93 #CA42B9 #D872CB

Accessibility & contrast

On white

6.30
#A22D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A22D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D93
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D93#FFFFFF#000000##FFFFFF
##A22D931.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#AA385D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d93;
/* rgb */ color: rgb(162, 45, 147);
/* oklch */ color: oklch(51.4% 0.189 333.7);
Tailwind
colors: {
  custom: {
    50: '#c171b3',
    500: '#a22d93',
    950: '#000000',
  },
}
SCSS
$custom: #a22d93;
$custom-light: #c171b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d93",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 307.692,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.18882,
    "h": 333.7
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#A22D93
secondary
#6CBF76
accent
#E05B48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D93

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

Preview Lab → · Contrast checker → · Palette generator →

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