#AF44AA#AF44AA

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

Color values

HEX#AF44AA
RGBrgb(175, 68, 170)
HSLhsl(303, 44%, 48%)
HSVhsv(303, 61%, 69%)
CMYKcmyk(0%, 61.1%, 2.9%, 31.4%)
CIE-LABlab(47.17, 56.39, -33.98)
CIE-LCHlch(47.17, 65.84, 328.93°)
OKLaboklab(56.84% 0.159 -0.0934)
OKLCHoklch(56.84% 0.184 329.6)
XYZxyz(27.0018, 16.1523, 39.7179)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44AA #44AF49
analogous
#7F44AF #AF44AA #AF4474
triadic
#AF44AA #AAAF44 #44AAAF
tetradic
#AF44AA #AF7F44 #44AF49 #4474AF
square
#AF44AA #AF7F44 #44AF49 #4474AF
split-complementary
#AF44AA #74AF44 #44AF7F
monochromatic
#572254 #83337F #AF44AA #C56BC1 #D797D4

Accessibility & contrast

On white

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

On black

4.23
#AF44AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF44AA#FFFFFF#000000##FFFFFF
##AF44AA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af44aa;
/* rgb */ color: rgb(175, 68, 170);
/* oklch */ color: oklch(56.8% 0.184 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fc3',
    500: '#af44aa',
    950: '#000000',
  },
}
SCSS
$custom: #af44aa;
$custom-light: #ca7fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af44aa",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 302.804,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.18445,
    "h": 329.6
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#AF44AA
secondary
#8CC28F
accent
#D45A54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF44AA

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

Preview Lab → · Contrast checker → · Palette generator →

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