#A22A94#A22A94

#A22A94 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.193 H 333.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A22A94
RGBrgb(162, 42, 148)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 74%, 64%)
CMYKcmyk(0%, 74.1%, 8.6%, 36.5%)
CIE-LABlab(40.37, 59.64, -31.66)
CIE-LCHlch(40.37, 67.52, 332.04°)
OKLaboklab(51.15% 0.1723 -0.0868)
OKLCHoklch(51.15% 0.193 333.3)
XYZxyz(21.0737, 11.4772, 29.1167)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A94 #2AA238
analogous
#742AA2 #A22A94 #A22A58
triadic
#A22A94 #94A22A #2A94A2
tetradic
#A22A94 #A2742A #2AA238 #2A58A2
square
#A22A94 #A2742A #2AA238 #2A58A2
split-complementary
#A22A94 #58A22A #2AA274
monochromatic
#41113B #711D68 #A22A94 #CD3DBC #D96DCD

Accessibility & contrast

On white

6.37
#A22A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22A94
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A94#FFFFFF#000000##FFFFFF
##A22A941.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255497
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#A9365C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22a94;
/* rgb */ color: rgb(162, 42, 148);
/* oklch */ color: oklch(51.1% 0.193 333.3);
Tailwind
colors: {
  custom: {
    50: '#c170b4',
    500: '#a22a94',
    950: '#000000',
  },
}
SCSS
$custom: #a22a94;
$custom-light: #c170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a94",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 307,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.19296,
    "h": 333.3
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#A22A94
secondary
#68C072
accent
#E25846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A94

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

Preview Lab → · Contrast checker → · Palette generator →

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