#A22B95#A22B95

#A22B95 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 332.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A22B95
RGBrgb(162, 43, 149)
HSLhsl(307, 58%, 40%)
HSVhsv(307, 73%, 64%)
CMYKcmyk(0%, 73.5%, 8%, 36.5%)
CIE-LABlab(40.54, 59.46, -32.00)
CIE-LCHlch(40.54, 67.52, 331.71°)
OKLaboklab(51.29% 0.1714 -0.0878)
OKLCHoklch(51.29% 0.193 332.9)
XYZxyz(21.1891, 11.5808, 29.5473)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B95 #2BA238
analogous
#742BA2 #A22B95 #A22B59
triadic
#A22B95 #95A22B #2B95A2
tetradic
#A22B95 #A2742B #2BA238 #2B59A2
square
#A22B95 #A2742B #2BA238 #2B59A2
split-complementary
#A22B95 #59A22B #2BA274
monochromatic
#41113C #721E69 #A22B95 #CC3EBC #D96FCD

Accessibility & contrast

On white

6.33
#A22B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A22B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B95
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B95#FFFFFF#000000##FFFFFF
##A22B951.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#526692
Tritanopia (blue-blind)
#A9375D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22b95;
/* rgb */ color: rgb(162, 43, 149);
/* oklch */ color: oklch(51.3% 0.193 332.9);
Tailwind
colors: {
  custom: {
    50: '#c171b4',
    500: '#a22b95',
    950: '#000000',
  },
}
SCSS
$custom: #a22b95;
$custom-light: #c171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b95",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 306.555,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.19259,
    "h": 332.9
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#A22B95
secondary
#69C073
accent
#E15747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22B95

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

Preview Lab → · Contrast checker → · Palette generator →

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