#A22794#A22794

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

Color values

HEX#A22794
RGBrgb(162, 39, 148)
HSLhsl(307, 61%, 39%)
HSVhsv(307, 76%, 64%)
CMYKcmyk(0%, 75.9%, 8.6%, 36.5%)
CIE-LABlab(40.04, 60.60, -32.19)
CIE-LCHlch(40.04, 68.62, 332.02°)
OKLaboklab(50.91% 0.1751 -0.0883)
OKLCHoklch(50.91% 0.196 333.2)
XYZxyz(20.9712, 11.2723, 29.0825)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22794 #27A235
analogous
#7327A2 #A22794 #A22757
triadic
#A22794 #94A227 #2794A2
tetradic
#A22794 #A27327 #27A235 #2757A2
square
#A22794 #A27327 #27A235 #2757A2
split-complementary
#A22794 #57A227 #27A273
monochromatic
#3F0F3A #711B67 #A22794 #CF37BE #DB69CE

Accessibility & contrast

On white

6.45
#A22794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A22794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22794
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22794#FFFFFF#000000##FFFFFF
##A227941.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#516591
Tritanopia (blue-blind)
#A9345B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22794;
/* rgb */ color: rgb(162, 39, 148);
/* oklch */ color: oklch(50.9% 0.196 333.2);
Tailwind
colors: {
  custom: {
    50: '#c16fb4',
    500: '#a22794',
    950: '#000000',
  },
}
SCSS
$custom: #a22794;
$custom-light: #c16fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22794",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 306.829,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.19616,
    "h": 333.2
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#A22794
secondary
#64C16E
accent
#E45643
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22794

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

Preview Lab → · Contrast checker → · Palette generator →

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