#AF44AC#AF44AC

#AF44AC is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.186 H 328.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF44AC
RGBrgb(175, 68, 172)
HSLhsl(302, 44%, 48%)
HSVhsv(302, 61%, 69%)
CMYKcmyk(0%, 61.1%, 1.7%, 31.4%)
CIE-LABlab(47.27, 56.73, -35.00)
CIE-LCHlch(47.27, 66.66, 328.33°)
OKLaboklab(56.95% 0.1592 -0.0964)
OKLCHoklch(56.95% 0.186 328.8)
XYZxyz(27.1924, 16.2286, 40.7219)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44AC #44AF47
analogous
#7C44AF #AF44AC #AF4477
triadic
#AF44AC #ACAF44 #44ACAF
tetradic
#AF44AC #AF7C44 #44AF47 #4477AF
square
#AF44AC #AF7C44 #44AF47 #4477AF
split-complementary
#AF44AC #77AF44 #44AF7C
monochromatic
#572255 #833381 #AF44AC #C56BC3 #D797D5

Accessibility & contrast

On white

4.95
#AF44AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF44AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44AC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44AC#FFFFFF#000000##FFFFFF
##AF44AC1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#B55072
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af44ac;
/* rgb */ color: rgb(175, 68, 172);
/* oklch */ color: oklch(56.9% 0.186 328.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fc5',
    500: '#af44ac',
    950: '#000000',
  },
}
SCSS
$custom: #af44ac;
$custom-light: #ca7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#af44ac",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 172
  },
  "hsl": {
    "h": 301.682,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.18612,
    "h": 328.8
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#AF44AC
secondary
#8CC28E
accent
#D45854
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF44AC

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

Preview Lab → · Contrast checker → · Palette generator →

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