#A22F96#A22F96

#A22F96 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.189 H 332.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A22F96
RGBrgb(162, 47, 150)
HSLhsl(306, 55%, 41%)
HSVhsv(306, 71%, 64%)
CMYKcmyk(0%, 71%, 7.4%, 36.5%)
CIE-LABlab(41.09, 58.22, -31.75)
CIE-LCHlch(41.09, 66.32, 331.40°)
OKLaboklab(51.7% 0.1674 -0.0871)
OKLCHoklch(51.7% 0.189 332.5)
XYZxyz(21.4219, 11.9182, 30.0204)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F96 #2FA23B
analogous
#742FA2 #A22F96 #A22F5C
triadic
#A22F96 #96A22F #2F96A2
tetradic
#A22F96 #A2742F #2FA23B #2F5CA2
square
#A22F96 #A2742F #2FA23B #2F5CA2
split-complementary
#A22F96 #5CA22F #2FA274
monochromatic
#43133E #73216A #A22F96 #C945BB #D775CD

Accessibility & contrast

On white

6.21
#A22F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A22F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F96
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F96#FFFFFF#000000##FFFFFF
##A22F961.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#A93B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22f96;
/* rgb */ color: rgb(162, 47, 150);
/* oklch */ color: oklch(51.7% 0.189 332.5);
Tailwind
colors: {
  custom: {
    50: '#c172b5',
    500: '#a22f96',
    950: '#000000',
  },
}
SCSS
$custom: #a22f96;
$custom-light: #c172b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f96",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 306.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51695,
    "c": 0.18872,
    "h": 332.5
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#A22F96
secondary
#6EBF77
accent
#DE5949
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22F96

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

Preview Lab → · Contrast checker → · Palette generator →

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