#A22D95#A22D95

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

Color values

HEX#A22D95
RGBrgb(162, 45, 149)
HSLhsl(307, 57%, 41%)
HSVhsv(307, 72%, 64%)
CMYKcmyk(0%, 72.2%, 8%, 36.5%)
CIE-LABlab(40.78, 58.77, -31.62)
CIE-LCHlch(40.78, 66.74, 331.72°)
OKLaboklab(51.46% 0.1694 -0.0867)
OKLCHoklch(51.46% 0.19 332.9)
XYZxyz(21.2636, 11.7298, 29.5721)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D95 #2DA23A
analogous
#752DA2 #A22D95 #A22D5A
triadic
#A22D95 #95A22D #2D95A2
tetradic
#A22D95 #A2752D #2DA23A #2D5AA2
square
#A22D95 #A2752D #2DA23A #2D5AA2
split-complementary
#A22D95 #5AA22D #2DA275
monochromatic
#42123D #722069 #A22D95 #CA42BB #D872CC

Accessibility & contrast

On white

6.28
#A22D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A22D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D95
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D95#FFFFFF#000000##FFFFFF
##A22D951.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#536692
Tritanopia (blue-blind)
#A9395E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d95;
/* rgb */ color: rgb(162, 45, 149);
/* oklch */ color: oklch(51.5% 0.190 332.9);
Tailwind
colors: {
  custom: {
    50: '#c171b4',
    500: '#a22d95',
    950: '#000000',
  },
}
SCSS
$custom: #a22d95;
$custom-light: #c171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d95",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 306.667,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.19032,
    "h": 332.9
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#A22D95
secondary
#6CBF75
accent
#E05948
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D95

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

Preview Lab → · Contrast checker → · Palette generator →

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