#A22F9D#A22F9D

#A22F9D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.194 H 329.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A22F9D
RGBrgb(162, 47, 157)
HSLhsl(303, 55%, 41%)
HSVhsv(303, 71%, 64%)
CMYKcmyk(0%, 71%, 3.1%, 36.5%)
CIE-LABlab(41.45, 59.36, -35.39)
CIE-LCHlch(41.45, 69.11, 329.20°)
OKLaboklab(52.08% 0.1678 -0.0976)
OKLCHoklch(52.08% 0.194 329.8)
XYZxyz(22.0025, 12.1504, 33.0782)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F9D #2FA234
analogous
#6D2FA2 #A22F9D #A22F63
triadic
#A22F9D #9DA22F #2F9DA2
tetradic
#A22F9D #A26D2F #2FA234 #2F63A2
square
#A22F9D #A26D2F #2FA234 #2F63A2
split-complementary
#A22F9D #63A22F #2FA26D
monochromatic
#431341 #73216F #A22F9D #C945C3 #D775D3

Accessibility & contrast

On white

6.12
#A22F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F9D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F9D#FFFFFF#000000##FFFFFF
##A22F9D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#A83E63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22f9d;
/* rgb */ color: rgb(162, 47, 157);
/* oklch */ color: oklch(52.1% 0.194 329.8);
Tailwind
colors: {
  custom: {
    50: '#c173ba',
    500: '#a22f9d',
    950: '#000000',
  },
}
SCSS
$custom: #a22f9d;
$custom-light: #c173ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f9d",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 302.609,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.19412,
    "h": 329.8
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#A22F9D
secondary
#6EBF72
accent
#DE5049
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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