#A22793#A22793

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

Color values

HEX#A22793
RGBrgb(162, 39, 147)
HSLhsl(307, 61%, 39%)
HSVhsv(307, 76%, 64%)
CMYKcmyk(0%, 75.9%, 9.3%, 36.5%)
CIE-LABlab(39.98, 60.45, -31.66)
CIE-LCHlch(39.98, 68.24, 332.35°)
OKLaboklab(50.85% 0.1751 -0.0868)
OKLCHoklch(50.85% 0.195 333.6)
XYZxyz(20.8924, 11.2408, 28.6675)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22793 #27A236
analogous
#7427A2 #A22793 #A22756
triadic
#A22793 #93A227 #2793A2
tetradic
#A22793 #A27427 #27A236 #2756A2
square
#A22793 #A27427 #27A236 #2756A2
split-complementary
#A22793 #56A227 #27A274
monochromatic
#3F0F39 #711B66 #A22793 #CF37BC #DB69CD

Accessibility & contrast

On white

6.47
#A22793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22793
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22793#FFFFFF#000000##FFFFFF
##A227931.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#526490
Tritanopia (blue-blind)
#AA335B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22793;
/* rgb */ color: rgb(162, 39, 147);
/* oklch */ color: oklch(50.9% 0.195 333.6);
Tailwind
colors: {
  custom: {
    50: '#c16fb3',
    500: '#a22793',
    950: '#000000',
  },
}
SCSS
$custom: #a22793;
$custom-light: #c16fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22793",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 307.317,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.19544,
    "h": 333.6
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#A22793
secondary
#64C16F
accent
#E45743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22793

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

Preview Lab → · Contrast checker → · Palette generator →

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