#A22FAD#A22FAD

#A22FAD is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.207 H 324.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A22FAD
RGBrgb(162, 47, 173)
HSLhsl(295, 57%, 43%)
HSVhsv(295, 73%, 68%)
CMYKcmyk(6.4%, 72.8%, 0%, 32.2%)
CIE-LABlab(42.36, 62.09, -43.51)
CIE-LCHlch(42.36, 75.82, 324.98°)
OKLaboklab(53.02% 0.1677 -0.1213)
OKLCHoklch(53.02% 0.207 324.1)
XYZxyz(23.4590, 12.7330, 40.7492)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FAD #3AAD2F
analogous
#632FAD #A22FAD #AD2F79
triadic
#A22FAD #ADA22F #2FADA2
tetradic
#A22FAD #AD632F #3AAD2F #2F79AD
square
#A22FAD #AD632F #3AAD2F #2F79AD
split-complementary
#A22FAD #79AD2F #2FAD63
monochromatic
#48154D #75227D #A22FAD #C34BCE #D37BDB

Accessibility & contrast

On white

5.92
#A22FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A22FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FAD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FAD#FFFFFF#000000##FFFFFF
##A22FAD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#4669AA
Tritanopia (blue-blind)
#A5456B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22fad;
/* rgb */ color: rgb(162, 47, 173);
/* oklch */ color: oklch(53.0% 0.207 324.1);
Tailwind
colors: {
  custom: {
    50: '#c173c6',
    500: '#a22fad',
    950: '#000000',
  },
}
SCSS
$custom: #a22fad;
$custom-light: #c173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fad",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 294.762,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.20698,
    "h": 324.1
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#A22FAD
secondary
#7BC474
accent
#E14755
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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