#A22FAC#A22FAC

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

Color values

HEX#A22FAC
RGBrgb(162, 47, 172)
HSLhsl(295, 57%, 43%)
HSVhsv(295, 73%, 67%)
CMYKcmyk(5.8%, 72.7%, 0%, 32.5%)
CIE-LABlab(42.30, 61.92, -43.01)
CIE-LCHlch(42.30, 75.39, 325.21°)
OKLaboklab(52.96% 0.1678 -0.1198)
OKLCHoklch(52.96% 0.206 324.5)
XYZxyz(23.3626, 12.6944, 40.2415)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FAC #39AC2F
analogous
#632FAC #A22FAC #AC2F77
triadic
#A22FAC #ACA22F #2FACA2
tetradic
#A22FAC #AC632F #39AC2F #2F77AC
square
#A22FAC #AC632F #39AC2F #2F77AC
split-complementary
#A22FAC #77AC2F #2FAC63
monochromatic
#47154C #75227C #A22FAC #C34BCE #D37BDB

Accessibility & contrast

On white

5.93
#A22FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A22FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FAC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FAC#FFFFFF#000000##FFFFFF
##A22FAC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#4769A9
Tritanopia (blue-blind)
#A5456B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22fac;
/* rgb */ color: rgb(162, 47, 172);
/* oklch */ color: oklch(53.0% 0.206 324.5);
Tailwind
colors: {
  custom: {
    50: '#c173c5',
    500: '#a22fac',
    950: '#000000',
  },
}
SCSS
$custom: #a22fac;
$custom-light: #c173c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fac",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 295.2,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.20615,
    "h": 324.5
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#A22FAC
secondary
#7AC374
accent
#E04754
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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