#A22993#A22993

#A22993 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.193 H 333.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A22993
RGBrgb(162, 41, 147)
HSLhsl(307, 60%, 40%)
HSVhsv(307, 75%, 64%)
CMYKcmyk(0%, 74.7%, 9.3%, 36.5%)
CIE-LABlab(40.21, 59.81, -31.31)
CIE-LCHlch(40.21, 67.51, 332.37°)
OKLaboklab(51.01% 0.1732 -0.0858)
OKLCHoklch(51.01% 0.193 333.6)
XYZxyz(20.9599, 11.3756, 28.6899)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22993 #29A238
analogous
#7529A2 #A22993 #A22957
triadic
#A22993 #93A229 #2993A2
tetradic
#A22993 #A27529 #29A238 #2957A2
square
#A22993 #A27529 #29A238 #2957A2
split-complementary
#A22993 #57A229 #29A275
monochromatic
#40103A #711D67 #A22993 #CD3BBB #DA6CCC

Accessibility & contrast

On white

6.41
#A22993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22993
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22993#FFFFFF#000000##FFFFFF
##A229931.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255496
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#AA355B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22993;
/* rgb */ color: rgb(162, 41, 147);
/* oklch */ color: oklch(51.0% 0.193 333.6);
Tailwind
colors: {
  custom: {
    50: '#c170b3',
    500: '#a22993',
    950: '#000000',
  },
}
SCSS
$custom: #a22993;
$custom-light: #c170b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22993",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 307.438,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.19332,
    "h": 333.6
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#A22993
secondary
#67C072
accent
#E35945
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22993

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

Preview Lab → · Contrast checker → · Palette generator →

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