#A2299A#A2299A

#A2299A is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 331.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A2299A
RGBrgb(162, 41, 154)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 64%)
CMYKcmyk(0%, 74.7%, 4.9%, 36.5%)
CIE-LABlab(40.58, 60.91, -34.97)
CIE-LCHlch(40.58, 70.23, 330.14°)
OKLaboklab(51.4% 0.1735 -0.0964)
OKLCHoklch(51.4% 0.199 331)
XYZxyz(21.5259, 11.6021, 31.6713)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2299A #29A231
analogous
#6E29A2 #A2299A #A2295E
triadic
#A2299A #9AA229 #299AA2
tetradic
#A2299A #A26E29 #29A231 #295EA2
square
#A2299A #A26E29 #29A231 #295EA2
split-complementary
#A2299A #5EA229 #29A26E
monochromatic
#40103D #711D6C #A2299A #CD3BC4 #DA6CD2

Accessibility & contrast

On white

6.33
#A2299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A2299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2299A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2299A#FFFFFF#000000##FFFFFF
##A2299A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#A8385F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2299a;
/* rgb */ color: rgb(162, 41, 154);
/* oklch */ color: oklch(51.4% 0.199 331.0);
Tailwind
colors: {
  custom: {
    50: '#c170b8',
    500: '#a2299a',
    950: '#000000',
  },
}
SCSS
$custom: #a2299a;
$custom-light: #c170b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2299a",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 303.967,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.19851,
    "h": 331
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#A2299A
secondary
#67C06C
accent
#E34F45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2299A

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

Preview Lab → · Contrast checker → · Palette generator →

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