#A22E92#A22E92

#A22E92 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.187 H 334.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A22E92
RGBrgb(162, 46, 146)
HSLhsl(308, 56%, 41%)
HSVhsv(308, 72%, 64%)
CMYKcmyk(0%, 71.6%, 9.9%, 36.5%)
CIE-LABlab(40.76, 57.95, -29.84)
CIE-LCHlch(40.76, 65.18, 332.75°)
OKLaboklab(51.39% 0.1681 -0.0816)
OKLCHoklch(51.39% 0.187 334.1)
XYZxyz(21.0658, 11.7125, 28.3398)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E92 #2EA23E
analogous
#782EA2 #A22E92 #A22E58
triadic
#A22E92 #92A22E #2E92A2
tetradic
#A22E92 #A2782E #2EA23E #2E58A2
square
#A22E92 #A2782E #2EA23E #2E58A2
split-complementary
#A22E92 #58A22E #2EA278
monochromatic
#43133C #722067 #A22E92 #CA43B7 #D773C9

Accessibility & contrast

On white

6.28
#A22E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A22E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E92
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E92#FFFFFF#000000##FFFFFF
##A22E921.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#55668F
Tritanopia (blue-blind)
#AA385C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22e92;
/* rgb */ color: rgb(162, 46, 146);
/* oklch */ color: oklch(51.4% 0.187 334.1);
Tailwind
colors: {
  custom: {
    50: '#c172b2',
    500: '#a22e92',
    950: '#000000',
  },
}
SCSS
$custom: #a22e92;
$custom-light: #c172b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e92",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 308.276,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.18691,
    "h": 334.1
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#A22E92
secondary
#6DBF78
accent
#DF5D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E92

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

Preview Lab → · Contrast checker → · Palette generator →

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