#A2299E#A2299E

#A2299E is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 329.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A2299E
RGBrgb(162, 41, 158)
HSLhsl(302, 60%, 40%)
HSVhsv(302, 75%, 64%)
CMYKcmyk(0%, 74.7%, 2.5%, 36.5%)
CIE-LABlab(40.80, 61.55, -37.03)
CIE-LCHlch(40.80, 71.84, 328.97°)
OKLaboklab(51.63% 0.1736 -0.1024)
OKLCHoklch(51.63% 0.202 329.5)
XYZxyz(21.8646, 11.7376, 33.4551)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2299E #29A22D
analogous
#6929A2 #A2299E #A22962
triadic
#A2299E #9EA229 #299EA2
tetradic
#A2299E #A26929 #29A22D #2962A2
square
#A2299E #A26929 #29A22D #2962A2
split-complementary
#A2299E #62A229 #29A269
monochromatic
#40103F #711D6E #A2299E #CD3BC9 #DA6CD6

Accessibility & contrast

On white

6.27
#A2299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A2299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2299E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2299E#FFFFFF#000000##FFFFFF
##A2299E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#A83A62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2299e;
/* rgb */ color: rgb(162, 41, 158);
/* oklch */ color: oklch(51.6% 0.202 329.5);
Tailwind
colors: {
  custom: {
    50: '#c170bb',
    500: '#a2299e',
    950: '#000000',
  },
}
SCSS
$custom: #a2299e;
$custom-light: #c170bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2299e",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 301.983,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.20154,
    "h": 329.5
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#A2299E
secondary
#67C069
accent
#E34A45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2299E

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

Preview Lab → · Contrast checker → · Palette generator →

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