#A22894#A22894

#A22894 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.195 H 333.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A22894
RGBrgb(162, 40, 148)
HSLhsl(307, 60%, 40%)
HSVhsv(307, 75%, 64%)
CMYKcmyk(0%, 75.3%, 8.6%, 36.5%)
CIE-LABlab(40.15, 60.29, -32.02)
CIE-LCHlch(40.15, 68.26, 332.03°)
OKLaboklab(50.98% 0.1742 -0.0879)
OKLCHoklch(50.98% 0.195 333.2)
XYZxyz(21.0045, 11.3389, 29.0936)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22894 #28A236
analogous
#7328A2 #A22894 #A22857
triadic
#A22894 #94A228 #2894A2
tetradic
#A22894 #A27328 #28A236 #2857A2
square
#A22894 #A27328 #28A236 #2857A2
split-complementary
#A22894 #57A228 #28A273
monochromatic
#40103A #711C67 #A22894 #CE39BD #DA6ACD

Accessibility & contrast

On white

6.43
#A22894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22894
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22894#FFFFFF#000000##FFFFFF
##A228941.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235397
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#A9355C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22894;
/* rgb */ color: rgb(162, 40, 148);
/* oklch */ color: oklch(51.0% 0.195 333.2);
Tailwind
colors: {
  custom: {
    50: '#c16fb4',
    500: '#a22894',
    950: '#000000',
  },
}
SCSS
$custom: #a22894;
$custom-light: #c16fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22894",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 306.885,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50984,
    "c": 0.19512,
    "h": 333.2
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#A22894
secondary
#65C170
accent
#E45744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22894

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

Preview Lab → · Contrast checker → · Palette generator →

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