#AF44A2#AF44A2

#AF44A2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.178 H 332.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF44A2
RGBrgb(175, 68, 162)
HSLhsl(307, 44%, 48%)
HSVhsv(307, 61%, 69%)
CMYKcmyk(0%, 61.1%, 7.4%, 31.4%)
CIE-LABlab(46.79, 55.05, -29.85)
CIE-LCHlch(46.79, 62.62, 331.53°)
OKLaboklab(56.44% 0.1581 -0.0816)
OKLCHoklch(56.44% 0.178 332.7)
XYZxyz(26.2679, 15.8588, 35.8530)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44A2 #44AF51
analogous
#8744AF #AF44A2 #AF446C
triadic
#AF44A2 #A2AF44 #44A2AF
tetradic
#AF44A2 #AF8744 #44AF51 #446CAF
square
#AF44A2 #AF8744 #44AF51 #446CAF
split-complementary
#AF44A2 #6CAF44 #44AF87
monochromatic
#572250 #833379 #AF44A2 #C56BBA #D797CF

Accessibility & contrast

On white

5.03
#AF44A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF44A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44A2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44A2#FFFFFF#000000##FFFFFF
##AF44A21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#B64D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af44a2;
/* rgb */ color: rgb(175, 68, 162);
/* oklch */ color: oklch(56.4% 0.178 332.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fbe',
    500: '#af44a2',
    950: '#000000',
  },
}
SCSS
$custom: #af44a2;
$custom-light: #ca7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#af44a2",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 307.29,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.1779,
    "h": 332.7
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#AF44A2
secondary
#8CC293
accent
#D46454
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF44A2

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

Preview Lab → · Contrast checker → · Palette generator →

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