#A22C97#A22C97

#A22C97 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.193 H 332.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A22C97
RGBrgb(162, 44, 151)
HSLhsl(306, 57%, 40%)
HSVhsv(306, 73%, 64%)
CMYKcmyk(0%, 72.8%, 6.8%, 36.5%)
CIE-LABlab(40.77, 59.44, -32.86)
CIE-LCHlch(40.77, 67.91, 331.07°)
OKLaboklab(51.48% 0.1705 -0.0903)
OKLCHoklch(51.48% 0.193 332.1)
XYZxyz(21.3869, 11.7189, 30.4077)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C97 #2CA237
analogous
#722CA2 #A22C97 #A22C5C
triadic
#A22C97 #97A22C #2C97A2
tetradic
#A22C97 #A2722C #2CA237 #2C5CA2
square
#A22C97 #A2722C #2CA237 #2C5CA2
split-complementary
#A22C97 #5CA22C #2CA272
monochromatic
#42123D #721F6A #A22C97 #CB40BE #D870CF

Accessibility & contrast

On white

6.28
#A22C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A22C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C97
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C97#FFFFFF#000000##FFFFFF
##A22C971.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22c97;
/* rgb */ color: rgb(162, 44, 151);
/* oklch */ color: oklch(51.5% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#c171b6',
    500: '#a22c97',
    950: '#000000',
  },
}
SCSS
$custom: #a22c97;
$custom-light: #c171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c97",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 305.593,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51481,
    "c": 0.19297,
    "h": 332.1
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#A22C97
secondary
#6ABF72
accent
#E15647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22C97

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

Preview Lab → · Contrast checker → · Palette generator →

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