#A2299F#A2299F

#A2299F is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.202 H 329.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A2299F
RGBrgb(162, 41, 159)
HSLhsl(301, 60%, 40%)
HSVhsv(301, 75%, 64%)
CMYKcmyk(0%, 74.7%, 1.9%, 36.5%)
CIE-LABlab(40.85, 61.72, -37.55)
CIE-LCHlch(40.85, 72.24, 328.69°)
OKLaboklab(51.68% 0.1736 -0.1039)
OKLCHoklch(51.68% 0.202 329.1)
XYZxyz(21.9511, 11.7721, 33.9103)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2299F #29A22C
analogous
#6929A2 #A2299F #A22962
triadic
#A2299F #9FA229 #299FA2
tetradic
#A2299F #A26929 #29A22C #2962A2
square
#A2299F #A26929 #29A22C #2962A2
split-complementary
#A2299F #62A229 #29A269
monochromatic
#40103F #711D6F #A2299F #CD3BCA #DA6CD7

Accessibility & contrast

On white

6.26
#A2299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2299F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2299F#FFFFFF#000000##FFFFFF
##A2299F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#A83B62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2299f;
/* rgb */ color: rgb(162, 41, 159);
/* oklch */ color: oklch(51.7% 0.202 329.1);
Tailwind
colors: {
  custom: {
    50: '#c170bc',
    500: '#a2299f',
    950: '#000000',
  },
}
SCSS
$custom: #a2299f;
$custom-light: #c170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a2299f",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 301.488,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.20231,
    "h": 329.1
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2299F

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

Preview Lab → · Contrast checker → · Palette generator →

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