#AF44AB#AF44AB

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

Color values

HEX#AF44AB
RGBrgb(175, 68, 171)
HSLhsl(302, 44%, 48%)
HSVhsv(302, 61%, 69%)
CMYKcmyk(0%, 61.1%, 2.3%, 31.4%)
CIE-LABlab(47.22, 56.56, -34.49)
CIE-LCHlch(47.22, 66.25, 328.62°)
OKLaboklab(56.89% 0.1591 -0.0949)
OKLCHoklch(56.89% 0.185 329.2)
XYZxyz(27.0967, 16.1903, 40.2180)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44AB #44AF48
analogous
#7D44AF #AF44AB #AF4475
triadic
#AF44AB #ABAF44 #44ABAF
tetradic
#AF44AB #AF7D44 #44AF48 #4475AF
square
#AF44AB #AF7D44 #44AF48 #4475AF
split-complementary
#AF44AB #75AF44 #44AF7D
monochromatic
#572255 #833380 #AF44AB #C56BC2 #D797D4

Accessibility & contrast

On white

4.96
#AF44AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF44AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44AB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44AB#FFFFFF#000000##FFFFFF
##AF44AB1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#B55071
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af44ab;
/* rgb */ color: rgb(175, 68, 171);
/* oklch */ color: oklch(56.9% 0.185 329.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fc4',
    500: '#af44ab',
    950: '#000000',
  },
}
SCSS
$custom: #af44ab;
$custom-light: #ca7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#af44ab",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 302.243,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.18528,
    "h": 329.2
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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