#AF22AE#AF22AE

#AF22AE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.226 H 328.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF22AE
RGBrgb(175, 34, 174)
HSLhsl(300, 67%, 41%)
HSVhsv(300, 81%, 69%)
CMYKcmyk(0%, 80.6%, 0.6%, 31.4%)
CIE-LABlab(43.24, 68.79, -42.58)
CIE-LCHlch(43.24, 80.90, 328.25°)
OKLaboklab(54.08% 0.1926 -0.1181)
OKLCHoklch(54.08% 0.226 328.5)
XYZxyz(25.8909, 13.3160, 41.2428)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF22AE #22AF23
analogous
#6A22AF #AF22AE #AF2267
triadic
#AF22AE #AEAF22 #22AEAF
tetradic
#AF22AE #AF6A22 #22AF23 #2267AF
square
#AF22AE #AF6A22 #22AF23 #2267AF
split-complementary
#AF22AE #67AF22 #22AF6A
monochromatic
#490E48 #7C187B #AF22AE #D836D7 #E269E1

Accessibility & contrast

On white

5.73
#AF22AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF22AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF22AE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF22AE#FFFFFF#000000##FFFFFF
##AF22AE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#B53B69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af22ae;
/* rgb */ color: rgb(175, 34, 174);
/* oklch */ color: oklch(54.1% 0.226 328.5);
Tailwind
colors: {
  custom: {
    50: '#cb70c7',
    500: '#af22ae',
    950: '#000000',
  },
}
SCSS
$custom: #af22ae;
$custom-light: #cb70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af22ae",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 300.426,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.22591,
    "h": 328.5
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#AF22AE
secondary
#65C866
accent
#EA3F3D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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