#A22C95#A22C95

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

Color values

HEX#A22C95
RGBrgb(162, 44, 149)
HSLhsl(307, 57%, 40%)
HSVhsv(307, 73%, 64%)
CMYKcmyk(0%, 72.8%, 8%, 36.5%)
CIE-LABlab(40.66, 59.12, -31.81)
CIE-LCHlch(40.66, 67.14, 331.72°)
OKLaboklab(51.37% 0.1704 -0.0873)
OKLCHoklch(51.37% 0.191 332.9)
XYZxyz(21.2259, 11.6544, 29.5596)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C95 #2CA239
analogous
#742CA2 #A22C95 #A22C5A
triadic
#A22C95 #95A22C #2C95A2
tetradic
#A22C95 #A2742C #2CA239 #2C5AA2
square
#A22C95 #A2742C #2CA239 #2C5AA2
split-complementary
#A22C95 #5AA22C #2CA274
monochromatic
#42123C #721F69 #A22C95 #CB40BC #D870CD

Accessibility & contrast

On white

6.31
#A22C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A22C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C95
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C95#FFFFFF#000000##FFFFFF
##A22C951.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22c95;
/* rgb */ color: rgb(162, 44, 149);
/* oklch */ color: oklch(51.4% 0.191 332.9);
Tailwind
colors: {
  custom: {
    50: '#c171b4',
    500: '#a22c95',
    950: '#000000',
  },
}
SCSS
$custom: #a22c95;
$custom-light: #c171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c95",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 306.61,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.19147,
    "h": 332.9
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#A22C95
secondary
#6ABF74
accent
#E15847
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22C95

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

Preview Lab → · Contrast checker → · Palette generator →

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