#A22E93#A22E93

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

Color values

HEX#A22E93
RGBrgb(162, 46, 147)
HSLhsl(308, 56%, 41%)
HSVhsv(308, 72%, 64%)
CMYKcmyk(0%, 71.6%, 9.3%, 36.5%)
CIE-LABlab(40.81, 58.11, -30.37)
CIE-LCHlch(40.81, 65.57, 332.41°)
OKLaboklab(51.44% 0.1682 -0.0832)
OKLCHoklch(51.44% 0.188 333.7)
XYZxyz(21.1439, 11.7437, 28.7513)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E93 #2EA23D
analogous
#772EA2 #A22E93 #A22E59
triadic
#A22E93 #93A22E #2E93A2
tetradic
#A22E93 #A2772E #2EA23D #2E59A2
square
#A22E93 #A2772E #2EA23D #2E59A2
split-complementary
#A22E93 #59A22E #2EA277
monochromatic
#43133C #722068 #A22E93 #CA43B8 #D773CA

Accessibility & contrast

On white

6.27
#A22E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22E93
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E93#FFFFFF#000000##FFFFFF
##A22E931.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5596
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#AA385D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22e93;
/* rgb */ color: rgb(162, 46, 147);
/* oklch */ color: oklch(51.4% 0.188 333.7);
Tailwind
colors: {
  custom: {
    50: '#c172b3',
    500: '#a22e93',
    950: '#000000',
  },
}
SCSS
$custom: #a22e93;
$custom-light: #c172b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e93",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 307.759,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.18765,
    "h": 333.7
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#A22E93
secondary
#6DBF77
accent
#DF5C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E93

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

Preview Lab → · Contrast checker → · Palette generator →

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