#A22795#A22795

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

Color values

HEX#A22795
RGBrgb(162, 39, 149)
HSLhsl(306, 61%, 39%)
HSVhsv(306, 76%, 64%)
CMYKcmyk(0%, 75.9%, 8%, 36.5%)
CIE-LABlab(40.09, 60.76, -32.71)
CIE-LCHlch(40.09, 69.00, 331.70°)
OKLaboklab(50.96% 0.1752 -0.0899)
OKLCHoklch(50.96% 0.197 332.8)
XYZxyz(21.0507, 11.3041, 29.5012)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22795 #27A234
analogous
#7127A2 #A22795 #A22758
triadic
#A22795 #95A227 #2795A2
tetradic
#A22795 #A27127 #27A234 #2758A2
square
#A22795 #A27127 #27A234 #2758A2
split-complementary
#A22795 #58A227 #27A271
monochromatic
#3F0F3A #711B68 #A22795 #CF37BF #DB69CF

Accessibility & contrast

On white

6.44
#A22795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A22795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22795
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22795#FFFFFF#000000##FFFFFF
##A227951.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A9345C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22795;
/* rgb */ color: rgb(162, 39, 149);
/* oklch */ color: oklch(51.0% 0.197 332.8);
Tailwind
colors: {
  custom: {
    50: '#c16fb4',
    500: '#a22795',
    950: '#000000',
  },
}
SCSS
$custom: #a22795;
$custom-light: #c16fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22795",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 306.341,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.19689,
    "h": 332.8
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22795

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

Preview Lab → · Contrast checker → · Palette generator →

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