#A22799#A22799

#A22799 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.2% C 0.200 H 331.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A22799
RGBrgb(162, 39, 153)
HSLhsl(304, 61%, 39%)
HSVhsv(304, 76%, 64%)
CMYKcmyk(0%, 75.9%, 5.6%, 36.5%)
CIE-LABlab(40.30, 61.38, -34.80)
CIE-LCHlch(40.30, 70.56, 330.45°)
OKLaboklab(51.18% 0.1753 -0.0959)
OKLCHoklch(51.18% 0.2 331.3)
XYZxyz(21.3756, 11.4341, 31.2120)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22799 #27A230
analogous
#6E27A2 #A22799 #A2275C
triadic
#A22799 #99A227 #2799A2
tetradic
#A22799 #A26E27 #27A230 #275CA2
square
#A22799 #A26E27 #27A230 #275CA2
split-complementary
#A22799 #5CA227 #27A26E
monochromatic
#3F0F3C #711B6A #A22799 #CF37C4 #DB69D2

Accessibility & contrast

On white

6.39
#A22799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A22799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22799
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22799#FFFFFF#000000##FFFFFF
##A227991.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#A9375E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22799;
/* rgb */ color: rgb(162, 39, 153);
/* oklch */ color: oklch(51.2% 0.200 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16fb7',
    500: '#a22799',
    950: '#000000',
  },
}
SCSS
$custom: #a22799;
$custom-light: #c16fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22799",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 304.39,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.19983,
    "h": 331.3
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#A22799
secondary
#64C16B
accent
#E44F43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22799

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

Preview Lab → · Contrast checker → · Palette generator →

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