#A22AA3#A22AA3

#A22AA3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 327.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A22AA3
RGBrgb(162, 42, 163)
HSLhsl(300, 59%, 40%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0.6%, 74.2%, 0%, 36.1%)
CIE-LABlab(41.19, 62.06, -39.41)
CIE-LCHlch(41.19, 73.51, 327.58°)
OKLaboklab(52% 0.1727 -0.1093)
OKLCHoklch(52% 0.204 327.7)
XYZxyz(22.3388, 11.9833, 35.7797)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA3 #2BA32A
analogous
#652AA3 #A22AA3 #A32A68
triadic
#A22AA3 #A3A22A #2AA3A2
tetradic
#A22AA3 #A3652A #2BA32A #2A68A3
square
#A22AA3 #A3652A #2BA32A #2A68A3
split-complementary
#A22AA3 #68A32A #2AA365
monochromatic
#411142 #721D72 #A22AA3 #CC3DCD #D96EDA

Accessibility & contrast

On white

6.18
#A22AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AA3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA3#FFFFFF#000000##FFFFFF
##A22AA31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A6
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#A73D65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22aa3;
/* rgb */ color: rgb(162, 42, 163);
/* oklch */ color: oklch(52.0% 0.204 327.7);
Tailwind
colors: {
  custom: {
    50: '#c171bf',
    500: '#a22aa3',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa3;
$custom-light: #c171bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa3",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 299.504,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.20435,
    "h": 327.7
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#A22AA3
secondary
#69C068
accent
#E24647
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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