#A22791#A22791

#A22791 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.194 H 334.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A22791
RGBrgb(162, 39, 145)
HSLhsl(308, 61%, 39%)
HSVhsv(308, 76%, 64%)
CMYKcmyk(0%, 75.9%, 10.5%, 36.5%)
CIE-LABlab(39.88, 60.14, -30.61)
CIE-LCHlch(39.88, 67.48, 333.03°)
OKLaboklab(50.74% 0.175 -0.0838)
OKLCHoklch(50.74% 0.194 334.4)
XYZxyz(20.7369, 11.1786, 27.8481)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22791 #27A238
analogous
#7627A2 #A22791 #A22753
triadic
#A22791 #91A227 #2791A2
tetradic
#A22791 #A27627 #27A238 #2753A2
square
#A22791 #A27627 #27A238 #2753A2
split-complementary
#A22791 #53A227 #27A276
monochromatic
#3F0F39 #711B65 #A22791 #CF37BA #DB69CB

Accessibility & contrast

On white

6.49
#A22791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A22791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22791
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22791#FFFFFF#000000##FFFFFF
##A227911.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255294
Deuteranopia (green-blind)
#53648E
Tritanopia (blue-blind)
#AA325A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22791;
/* rgb */ color: rgb(162, 39, 145);
/* oklch */ color: oklch(50.7% 0.194 334.4);
Tailwind
colors: {
  custom: {
    50: '#c16fb1',
    500: '#a22791',
    950: '#000000',
  },
}
SCSS
$custom: #a22791;
$custom-light: #c16fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22791",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 308.293,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.19399,
    "h": 334.4
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#A22791
secondary
#64C171
accent
#E45A43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22791

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

Preview Lab → · Contrast checker → · Palette generator →

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