#A22F9E#A22F9E

#A22F9E is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.195 H 329.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A22F9E
RGBrgb(162, 47, 158)
HSLhsl(302, 55%, 41%)
HSVhsv(302, 71%, 64%)
CMYKcmyk(0%, 71%, 2.5%, 36.5%)
CIE-LABlab(41.51, 59.52, -35.91)
CIE-LCHlch(41.51, 69.52, 328.90°)
OKLaboklab(52.14% 0.1678 -0.0991)
OKLCHoklch(52.14% 0.195 329.4)
XYZxyz(22.0882, 12.1847, 33.5296)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F9E #2FA233
analogous
#6C2FA2 #A22F9E #A22F64
triadic
#A22F9E #9EA22F #2F9EA2
tetradic
#A22F9E #A26C2F #2FA233 #2F64A2
square
#A22F9E #A26C2F #2FA233 #2F64A2
split-complementary
#A22F9E #64A22F #2FA26C
monochromatic
#431341 #732170 #A22F9E #C945C4 #D775D3

Accessibility & contrast

On white

6.11
#A22F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A22F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F9E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F9E#FFFFFF#000000##FFFFFF
##A22F9E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#50679B
Tritanopia (blue-blind)
#A83E63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22f9e;
/* rgb */ color: rgb(162, 47, 158);
/* oklch */ color: oklch(52.1% 0.195 329.4);
Tailwind
colors: {
  custom: {
    50: '#c173bb',
    500: '#a22f9e',
    950: '#000000',
  },
}
SCSS
$custom: #a22f9e;
$custom-light: #c173bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f9e",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 302.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.19491,
    "h": 329.4
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#A22F9E
secondary
#6EBF71
accent
#DE4F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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