#A22E8F#A22E8F

#A22E8F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.185 H 335.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A22E8F
RGBrgb(162, 46, 143)
HSLhsl(310, 56%, 41%)
HSVhsv(310, 72%, 64%)
CMYKcmyk(0%, 71.6%, 11.7%, 36.5%)
CIE-LABlab(40.61, 57.49, -28.25)
CIE-LCHlch(40.61, 64.05, 333.83°)
OKLaboklab(51.23% 0.1679 -0.0771)
OKLCHoklch(51.23% 0.185 335.3)
XYZxyz(20.8355, 11.6204, 27.1269)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E8F #2EA241
analogous
#7B2EA2 #A22E8F #A22E55
triadic
#A22E8F #8FA22E #2E8FA2
tetradic
#A22E8F #A27B2E #2EA241 #2E55A2
square
#A22E8F #A27B2E #2EA241 #2E55A2
split-complementary
#A22E8F #55A22E #2EA27B
monochromatic
#43133B #722065 #A22E8F #CA43B4 #D773C7

Accessibility & contrast

On white

6.32
#A22E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22E8F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E8F#FFFFFF#000000##FFFFFF
##A22E8F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5592
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#AA375B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22e8f;
/* rgb */ color: rgb(162, 46, 143);
/* oklch */ color: oklch(51.2% 0.185 335.3);
Tailwind
colors: {
  custom: {
    50: '#c172b0',
    500: '#a22e8f',
    950: '#000000',
  },
}
SCSS
$custom: #a22e8f;
$custom-light: #c172b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e8f",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 309.828,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.1847,
    "h": 335.3
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#A22E8F
secondary
#6DBF7A
accent
#DF6149
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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