#A22E95#A22E95

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

Color values

HEX#A22E95
RGBrgb(162, 46, 149)
HSLhsl(307, 56%, 41%)
HSVhsv(307, 72%, 64%)
CMYKcmyk(0%, 71.6%, 8%, 36.5%)
CIE-LABlab(40.91, 58.42, -31.42)
CIE-LCHlch(40.91, 66.34, 331.73°)
OKLaboklab(51.55% 0.1684 -0.0862)
OKLCHoklch(51.55% 0.189 332.9)
XYZxyz(21.3022, 11.8071, 29.5850)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E95 #2EA23B
analogous
#752EA2 #A22E95 #A22E5B
triadic
#A22E95 #95A22E #2E95A2
tetradic
#A22E95 #A2752E #2EA23B #2E5BA2
square
#A22E95 #A2752E #2EA23B #2E5BA2
split-complementary
#A22E95 #5BA22E #2EA275
monochromatic
#43133D #722069 #A22E95 #CA43BB #D773CC

Accessibility & contrast

On white

6.25
#A22E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A22E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E95
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E95#FFFFFF#000000##FFFFFF
##A22E951.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22e95;
/* rgb */ color: rgb(162, 46, 149);
/* oklch */ color: oklch(51.5% 0.189 332.9);
Tailwind
colors: {
  custom: {
    50: '#c172b4',
    500: '#a22e95',
    950: '#000000',
  },
}
SCSS
$custom: #a22e95;
$custom-light: #c172b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e95",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 306.724,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.18915,
    "h": 332.9
  },
  "luminance": 0.11805
}

Semantic roles & 50–950 ramp

primary
#A22E95
secondary
#6DBF76
accent
#DF5A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E95

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

Preview Lab → · Contrast checker → · Palette generator →

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