#A22995#A22995

#A22995 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.195 H 332.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A22995
RGBrgb(162, 41, 149)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 64%)
CMYKcmyk(0%, 74.7%, 8%, 36.5%)
CIE-LABlab(40.31, 60.12, -32.36)
CIE-LCHlch(40.31, 68.28, 331.71°)
OKLaboklab(51.12% 0.1733 -0.0889)
OKLCHoklch(51.12% 0.195 332.9)
XYZxyz(21.1182, 11.4390, 29.5236)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22995 #29A236
analogous
#7229A2 #A22995 #A22959
triadic
#A22995 #95A229 #2995A2
tetradic
#A22995 #A27229 #29A236 #2959A2
square
#A22995 #A27229 #29A236 #2959A2
split-complementary
#A22995 #59A229 #29A272
monochromatic
#40103B #711D68 #A22995 #CD3BBE #DA6CCE

Accessibility & contrast

On white

6.39
#A22995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A22995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22995
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22995#FFFFFF#000000##FFFFFF
##A229951.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A9365D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22995;
/* rgb */ color: rgb(162, 41, 149);
/* oklch */ color: oklch(51.1% 0.195 332.9);
Tailwind
colors: {
  custom: {
    50: '#c170b4',
    500: '#a22995',
    950: '#000000',
  },
}
SCSS
$custom: #a22995;
$custom-light: #c170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22995",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 306.446,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.19478,
    "h": 332.9
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#A22995
secondary
#67C070
accent
#E35645
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22995

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

Preview Lab → · Contrast checker → · Palette generator →

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