#A22895#A22895

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

Color values

HEX#A22895
RGBrgb(162, 40, 149)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 64%)
CMYKcmyk(0%, 75.3%, 8%, 36.5%)
CIE-LABlab(40.20, 60.44, -32.54)
CIE-LCHlch(40.20, 68.64, 331.70°)
OKLaboklab(51.04% 0.1743 -0.0894)
OKLCHoklch(51.04% 0.196 332.9)
XYZxyz(21.0840, 11.3707, 29.5123)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22895 #28A235
analogous
#7228A2 #A22895 #A22858
triadic
#A22895 #95A228 #2895A2
tetradic
#A22895 #A27228 #28A235 #2858A2
square
#A22895 #A27228 #28A235 #2858A2
split-complementary
#A22895 #58A228 #28A272
monochromatic
#40103B #711C68 #A22895 #CE39BE #DA6ACE

Accessibility & contrast

On white

6.41
#A22895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22895
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22895#FFFFFF#000000##FFFFFF
##A228951.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22895;
/* rgb */ color: rgb(162, 40, 149);
/* oklch */ color: oklch(51.0% 0.196 332.9);
Tailwind
colors: {
  custom: {
    50: '#c16fb4',
    500: '#a22895',
    950: '#000000',
  },
}
SCSS
$custom: #a22895;
$custom-light: #c16fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22895",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 306.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.19585,
    "h": 332.9
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#A22895
secondary
#65C16F
accent
#E45544
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22895

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

Preview Lab → · Contrast checker → · Palette generator →

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