#A2299B#A2299B

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

Color values

HEX#A2299B
RGBrgb(162, 41, 155)
HSLhsl(303, 60%, 40%)
HSVhsv(303, 75%, 64%)
CMYKcmyk(0%, 74.7%, 4.3%, 36.5%)
CIE-LABlab(40.63, 61.07, -35.49)
CIE-LCHlch(40.63, 70.63, 329.84°)
OKLaboklab(51.45% 0.1736 -0.0979)
OKLCHoklch(51.45% 0.199 330.6)
XYZxyz(21.6096, 11.6355, 32.1117)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2299B #29A230
analogous
#6D29A2 #A2299B #A2295F
triadic
#A2299B #9BA229 #299BA2
tetradic
#A2299B #A26D29 #29A230 #295FA2
square
#A2299B #A26D29 #29A230 #295FA2
split-complementary
#A2299B #5FA229 #29A26D
monochromatic
#40103E #711D6C #A2299B #CD3BC5 #DA6CD3

Accessibility & contrast

On white

6.31
#A2299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A2299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2299B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2299B#FFFFFF#000000##FFFFFF
##A2299B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#4E6698
Tritanopia (blue-blind)
#A83960
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2299b;
/* rgb */ color: rgb(162, 41, 155);
/* oklch */ color: oklch(51.5% 0.199 330.6);
Tailwind
colors: {
  custom: {
    50: '#c170b9',
    500: '#a2299b',
    950: '#000000',
  },
}
SCSS
$custom: #a2299b;
$custom-light: #c170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2299b",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 303.471,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.19926,
    "h": 330.6
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2299B

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

Preview Lab → · Contrast checker → · Palette generator →

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