#A22E98#A22E98

#A22E98 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.191 H 331.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A22E98
RGBrgb(162, 46, 152)
HSLhsl(305, 56%, 41%)
HSVhsv(305, 72%, 64%)
CMYKcmyk(0%, 71.6%, 6.2%, 36.5%)
CIE-LABlab(41.06, 58.90, -32.99)
CIE-LCHlch(41.06, 67.51, 330.75°)
OKLaboklab(51.71% 0.1686 -0.0907)
OKLCHoklch(51.71% 0.191 331.7)
XYZxyz(21.5448, 11.9041, 30.8627)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E98 #2EA238
analogous
#722EA2 #A22E98 #A22E5E
triadic
#A22E98 #98A22E #2E98A2
tetradic
#A22E98 #A2722E #2EA238 #2E5EA2
square
#A22E98 #A2722E #2EA238 #2E5EA2
split-complementary
#A22E98 #5EA22E #2EA272
monochromatic
#43133F #72206B #A22E98 #CA43BE #D773CF

Accessibility & contrast

On white

6.21
#A22E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A22E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E98
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E98#FFFFFF#000000##FFFFFF
##A22E981.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#A93B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22e98;
/* rgb */ color: rgb(162, 46, 152);
/* oklch */ color: oklch(51.7% 0.191 331.7);
Tailwind
colors: {
  custom: {
    50: '#c172b7',
    500: '#a22e98',
    950: '#000000',
  },
}
SCSS
$custom: #a22e98;
$custom-light: #c172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e98",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 305.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.19143,
    "h": 331.7
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#A22E98
secondary
#6DBF74
accent
#DF5649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E98

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

Preview Lab → · Contrast checker → · Palette generator →

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