#A22F9F#A22F9F

#A22F9F is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 329.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A22F9F
RGBrgb(162, 47, 159)
HSLhsl(302, 55%, 41%)
HSVhsv(302, 71%, 64%)
CMYKcmyk(0%, 71%, 1.9%, 36.5%)
CIE-LABlab(41.56, 59.69, -36.42)
CIE-LCHlch(41.56, 69.92, 328.61°)
OKLaboklab(52.19% 0.1678 -0.1006)
OKLCHoklch(52.19% 0.196 329.1)
XYZxyz(22.1746, 12.2192, 33.9848)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F9F #2FA232
analogous
#6B2FA2 #A22F9F #A22F65
triadic
#A22F9F #9FA22F #2F9FA2
tetradic
#A22F9F #A26B2F #2FA232 #2F65A2
square
#A22F9F #A26B2F #2FA232 #2F65A2
split-complementary
#A22F9F #65A22F #2FA26B
monochromatic
#431342 #732170 #A22F9F #C945C6 #D775D4

Accessibility & contrast

On white

6.10
#A22F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22F9F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F9F#FFFFFF#000000##FFFFFF
##A22F9F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#A83F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22f9f;
/* rgb */ color: rgb(162, 47, 159);
/* oklch */ color: oklch(52.2% 0.196 329.1);
Tailwind
colors: {
  custom: {
    50: '#c173bc',
    500: '#a22f9f',
    950: '#000000',
  },
}
SCSS
$custom: #a22f9f;
$custom-light: #c173bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f9f",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 301.565,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.1957,
    "h": 329.1
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#A22F9F
secondary
#6EBF70
accent
#DE4D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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