#A22998#A22998

#A22998 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.197 H 331.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A22998
RGBrgb(162, 41, 152)
HSLhsl(305, 60%, 40%)
HSVhsv(305, 75%, 64%)
CMYKcmyk(0%, 74.7%, 6.2%, 36.5%)
CIE-LABlab(40.47, 60.59, -33.93)
CIE-LCHlch(40.47, 69.44, 330.75°)
OKLaboklab(51.29% 0.1735 -0.0934)
OKLCHoklch(51.29% 0.197 331.7)
XYZxyz(21.3607, 11.5360, 30.8013)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22998 #29A233
analogous
#7029A2 #A22998 #A2295B
triadic
#A22998 #98A229 #2998A2
tetradic
#A22998 #A27029 #29A233 #295BA2
square
#A22998 #A27029 #29A233 #295BA2
split-complementary
#A22998 #5BA229 #29A270
monochromatic
#40103C #711D6A #A22998 #CD3BC1 #DA6CD1

Accessibility & contrast

On white

6.35
#A22998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A22998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22998
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22998#FFFFFF#000000##FFFFFF
##A229981.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#A9375E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22998;
/* rgb */ color: rgb(162, 41, 152);
/* oklch */ color: oklch(51.3% 0.197 331.7);
Tailwind
colors: {
  custom: {
    50: '#c170b7',
    500: '#a22998',
    950: '#000000',
  },
}
SCSS
$custom: #a22998;
$custom-light: #c170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22998",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 304.959,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.19701,
    "h": 331.7
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#A22998
secondary
#67C06E
accent
#E35245
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22998

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

Preview Lab → · Contrast checker → · Palette generator →

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