#A2299D#A2299D

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

Color values

HEX#A2299D
RGBrgb(162, 41, 157)
HSLhsl(302, 60%, 40%)
HSVhsv(302, 75%, 64%)
CMYKcmyk(0%, 74.7%, 3.1%, 36.5%)
CIE-LABlab(40.74, 61.39, -36.52)
CIE-LCHlch(40.74, 71.43, 329.25°)
OKLaboklab(51.57% 0.1736 -0.1009)
OKLCHoklch(51.57% 0.201 329.8)
XYZxyz(21.7789, 11.7033, 33.0036)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2299D #29A22E
analogous
#6A29A2 #A2299D #A22961
triadic
#A2299D #9DA229 #299DA2
tetradic
#A2299D #A26A29 #29A22E #2961A2
square
#A2299D #A26A29 #29A22E #2961A2
split-complementary
#A2299D #61A229 #29A26A
monochromatic
#40103E #711D6E #A2299D #CD3BC7 #DA6CD5

Accessibility & contrast

On white

6.29
#A2299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A2299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2299D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2299D#FFFFFF#000000##FFFFFF
##A2299D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#A83A61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2299d;
/* rgb */ color: rgb(162, 41, 157);
/* oklch */ color: oklch(51.6% 0.201 329.8);
Tailwind
colors: {
  custom: {
    50: '#c170ba',
    500: '#a2299d',
    950: '#000000',
  },
}
SCSS
$custom: #a2299d;
$custom-light: #c170ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2299d",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 302.479,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.20078,
    "h": 329.8
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#A2299D
secondary
#67C06A
accent
#E34C45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2299D

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

Preview Lab → · Contrast checker → · Palette generator →

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