#A22A93#A22A93

#A22A93 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.192 H 333.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A22A93
RGBrgb(162, 42, 147)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 74%, 64%)
CMYKcmyk(0%, 74.1%, 9.3%, 36.5%)
CIE-LABlab(40.32, 59.48, -31.13)
CIE-LCHlch(40.32, 67.14, 332.37°)
OKLaboklab(51.09% 0.1722 -0.0853)
OKLCHoklch(51.09% 0.192 333.6)
XYZxyz(20.9949, 11.4457, 28.7016)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A93 #2AA239
analogous
#752AA2 #A22A93 #A22A57
triadic
#A22A93 #93A22A #2A93A2
tetradic
#A22A93 #A2752A #2AA239 #2A57A2
square
#A22A93 #A2752A #2AA239 #2A57A2
split-complementary
#A22A93 #57A22A #2AA275
monochromatic
#41113B #711D67 #A22A93 #CD3DBB #D96DCC

Accessibility & contrast

On white

6.39
#A22A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A22A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A93
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A93#FFFFFF#000000##FFFFFF
##A22A931.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#536590
Tritanopia (blue-blind)
#AA365C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22a93;
/* rgb */ color: rgb(162, 42, 147);
/* oklch */ color: oklch(51.1% 0.192 333.6);
Tailwind
colors: {
  custom: {
    50: '#c170b3',
    500: '#a22a93',
    950: '#000000',
  },
}
SCSS
$custom: #a22a93;
$custom-light: #c170b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a93",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 307.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.19222,
    "h": 333.6
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#A22A93
secondary
#68C073
accent
#E25946
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A93

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

Preview Lab → · Contrast checker → · Palette generator →

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