#A22D94#A22D94

#A22D94 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.190 H 333.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A22D94
RGBrgb(162, 45, 148)
HSLhsl(307, 57%, 41%)
HSVhsv(307, 72%, 64%)
CMYKcmyk(0%, 72.2%, 8.6%, 36.5%)
CIE-LABlab(40.73, 58.62, -31.09)
CIE-LCHlch(40.73, 66.35, 332.06°)
OKLaboklab(51.41% 0.1693 -0.0852)
OKLCHoklch(51.41% 0.19 333.3)
XYZxyz(21.1841, 11.6980, 29.1535)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D94 #2DA23B
analogous
#752DA2 #A22D94 #A22D5A
triadic
#A22D94 #94A22D #2D94A2
tetradic
#A22D94 #A2752D #2DA23B #2D5AA2
square
#A22D94 #A2752D #2DA23B #2D5AA2
split-complementary
#A22D94 #5AA22D #2DA275
monochromatic
#42123C #722068 #A22D94 #CA42BA #D872CC

Accessibility & contrast

On white

6.29
#A22D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A22D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D94
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D94#FFFFFF#000000##FFFFFF
##A22D941.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#A9385D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d94;
/* rgb */ color: rgb(162, 45, 148);
/* oklch */ color: oklch(51.4% 0.190 333.3);
Tailwind
colors: {
  custom: {
    50: '#c171b4',
    500: '#a22d94',
    950: '#000000',
  },
}
SCSS
$custom: #a22d94;
$custom-light: #c171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d94",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 307.179,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.18957,
    "h": 333.3
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#A22D94
secondary
#6CBF76
accent
#E05A48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D94

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

Preview Lab → · Contrast checker → · Palette generator →

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