#A22A95#A22A95

#A22A95 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.194 H 332.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A22A95
RGBrgb(162, 42, 149)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 74%, 64%)
CMYKcmyk(0%, 74.1%, 8%, 36.5%)
CIE-LABlab(40.42, 59.79, -32.18)
CIE-LCHlch(40.42, 67.90, 331.71°)
OKLaboklab(51.2% 0.1724 -0.0883)
OKLCHoklch(51.2% 0.194 332.9)
XYZxyz(21.1532, 11.5090, 29.5353)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A95 #2AA237
analogous
#732AA2 #A22A95 #A22A59
triadic
#A22A95 #95A22A #2A95A2
tetradic
#A22A95 #A2732A #2AA237 #2A59A2
square
#A22A95 #A2732A #2AA237 #2A59A2
split-complementary
#A22A95 #59A22A #2AA273
monochromatic
#41113C #711D68 #A22A95 #CD3DBD #D96DCE

Accessibility & contrast

On white

6.36
#A22A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A22A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A95
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A95#FFFFFF#000000##FFFFFF
##A22A951.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#526592
Tritanopia (blue-blind)
#A9375D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22a95;
/* rgb */ color: rgb(162, 42, 149);
/* oklch */ color: oklch(51.2% 0.194 332.9);
Tailwind
colors: {
  custom: {
    50: '#c170b4',
    500: '#a22a95',
    950: '#000000',
  },
}
SCSS
$custom: #a22a95;
$custom-light: #c170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a95",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 306.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.1937,
    "h": 332.9
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#A22A95
secondary
#68C071
accent
#E25746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A95

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

Preview Lab → · Contrast checker → · Palette generator →

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