#A22792#A22792

#A22792 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.195 H 334.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A22792
RGBrgb(162, 39, 146)
HSLhsl(308, 61%, 39%)
HSVhsv(308, 76%, 64%)
CMYKcmyk(0%, 75.9%, 9.9%, 36.5%)
CIE-LABlab(39.93, 60.29, -31.14)
CIE-LCHlch(39.93, 67.86, 332.69°)
OKLaboklab(50.8% 0.175 -0.0853)
OKLCHoklch(50.8% 0.195 334)
XYZxyz(20.8143, 11.2096, 28.2560)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22792 #27A237
analogous
#7527A2 #A22792 #A22755
triadic
#A22792 #92A227 #2792A2
tetradic
#A22792 #A27527 #27A237 #2755A2
square
#A22792 #A27527 #27A237 #2755A2
split-complementary
#A22792 #55A227 #27A275
monochromatic
#3F0F39 #711B66 #A22792 #CF37BB #DB69CC

Accessibility & contrast

On white

6.48
#A22792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22792
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22792#FFFFFF#000000##FFFFFF
##A227921.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#AA335A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22792;
/* rgb */ color: rgb(162, 39, 146);
/* oklch */ color: oklch(50.8% 0.195 334.0);
Tailwind
colors: {
  custom: {
    50: '#c16fb2',
    500: '#a22792',
    950: '#000000',
  },
}
SCSS
$custom: #a22792;
$custom-light: #c16fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22792",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 307.805,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.19472,
    "h": 334
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#A22792
secondary
#64C170
accent
#E45843
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22792

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

Preview Lab → · Contrast checker → · Palette generator →

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