#A22E94#A22E94

#A22E94 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.188 H 333.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A22E94
RGBrgb(162, 46, 148)
HSLhsl(307, 56%, 41%)
HSVhsv(307, 72%, 64%)
CMYKcmyk(0%, 71.6%, 8.6%, 36.5%)
CIE-LABlab(40.86, 58.26, -30.90)
CIE-LCHlch(40.86, 65.95, 332.06°)
OKLaboklab(51.5% 0.1683 -0.0847)
OKLCHoklch(51.5% 0.188 333.3)
XYZxyz(21.2227, 11.7753, 29.1663)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E94 #2EA23C
analogous
#762EA2 #A22E94 #A22E5A
triadic
#A22E94 #94A22E #2E94A2
tetradic
#A22E94 #A2762E #2EA23C #2E5AA2
square
#A22E94 #A2762E #2EA23C #2E5AA2
split-complementary
#A22E94 #5AA22E #2EA276
monochromatic
#43133D #722068 #A22E94 #CA43BA #D773CB

Accessibility & contrast

On white

6.26
#A22E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A22E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E94
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E94#FFFFFF#000000##FFFFFF
##A22E941.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5697
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#A9395D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22e94;
/* rgb */ color: rgb(162, 46, 148);
/* oklch */ color: oklch(51.5% 0.188 333.3);
Tailwind
colors: {
  custom: {
    50: '#c172b4',
    500: '#a22e94',
    950: '#000000',
  },
}
SCSS
$custom: #a22e94;
$custom-light: #c172b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e94",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 307.241,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.1884,
    "h": 333.3
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#A22E94
secondary
#6DBF77
accent
#DF5B49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E94

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

Preview Lab → · Contrast checker → · Palette generator →

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