#A22DAF#A22DAF

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

Color values

HEX#A22DAF
RGBrgb(162, 45, 175)
HSLhsl(294, 59%, 43%)
HSVhsv(294, 74%, 69%)
CMYKcmyk(7.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(42.24, 63.13, -44.89)
CIE-LCHlch(42.24, 77.46, 324.59°)
OKLaboklab(52.97% 0.1695 -0.1253)
OKLCHoklch(52.97% 0.211 323.5)
XYZxyz(23.5758, 12.6547, 41.7500)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DAF #3AAF2D
analogous
#612DAF #A22DAF #AF2D7B
triadic
#A22DAF #AFA22D #2DAFA2
tetradic
#A22DAF #AF612D #3AAF2D #2D7BAF
square
#A22DAF #AF612D #3AAF2D #2D7BAF
split-complementary
#A22DAF #7BAF2D #2DAF61
monochromatic
#48144E #75207E #A22DAF #C349D0 #D37ADD

Accessibility & contrast

On white

5.95
#A22DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A22DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DAF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DAF#FFFFFF#000000##FFFFFF
##A22DAF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#A5456C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22daf;
/* rgb */ color: rgb(162, 45, 175);
/* oklch */ color: oklch(53.0% 0.211 323.5);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a22daf',
    950: '#000000',
  },
}
SCSS
$custom: #a22daf;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22daf",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 294,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.21077,
    "h": 323.5
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#A22DAF
secondary
#7BC573
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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