#A22FAF#A22FAF

#A22FAF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.209 H 323.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A22FAF
RGBrgb(162, 47, 175)
HSLhsl(294, 58%, 44%)
HSVhsv(294, 73%, 69%)
CMYKcmyk(7.4%, 73.1%, 0%, 31.4%)
CIE-LABlab(42.48, 62.45, -44.51)
CIE-LCHlch(42.48, 76.68, 324.52°)
OKLaboklab(53.14% 0.1677 -0.1242)
OKLCHoklch(53.14% 0.209 323.5)
XYZxyz(23.6540, 12.8110, 41.7760)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FAF #3CAF2F
analogous
#622FAF #A22FAF #AF2F7C
triadic
#A22FAF #AFA22F #2FAFA2
tetradic
#A22FAF #AF622F #3CAF2F #2F7CAF
square
#A22FAF #AF622F #3CAF2F #2F7CAF
split-complementary
#A22FAF #7CAF2F #2FAF62
monochromatic
#49154F #75227F #A22FAF #C24CCF #D27CDC

Accessibility & contrast

On white

5.90
#A22FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A22FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FAF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FAF#FFFFFF#000000##FFFFFF
##A22FAF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#A5466D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22faf;
/* rgb */ color: rgb(162, 47, 175);
/* oklch */ color: oklch(53.1% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#c173c7',
    500: '#a22faf',
    950: '#000000',
  },
}
SCSS
$custom: #a22faf;
$custom-light: #c173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22faf",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 293.906,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.20862,
    "h": 323.5
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#A22FAF
secondary
#7DC475
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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