#AF36AE#AF36AE

#AF36AE is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.206 H 328.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF36AE
RGBrgb(175, 54, 174)
HSLhsl(300, 53%, 45%)
HSVhsv(300, 69%, 69%)
CMYKcmyk(0%, 69.1%, 0.6%, 31.4%)
CIE-LABlab(45.37, 62.67, -39.18)
CIE-LCHlch(45.37, 73.91, 327.98°)
OKLaboklab(55.61% 0.1752 -0.1084)
OKLCHoklch(55.61% 0.206 328.3)
XYZxyz(26.6380, 14.8102, 41.4918)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36AE #36AF37
analogous
#7436AF #AF36AE #AF3671
triadic
#AF36AE #AEAF36 #36AEAF
tetradic
#AF36AE #AF7436 #36AF37 #3671AF
square
#AF36AE #AF7436 #36AF37 #3671AF
split-complementary
#AF36AE #71AF36 #36AF74
monochromatic
#511951 #80287F #AF36AE #CB57CA #DA86D9

Accessibility & contrast

On white

5.30
#AF36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36AE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36AE#FFFFFF#000000##FFFFFF
##AF36AE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#B5476E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af36ae;
/* rgb */ color: rgb(175, 54, 174);
/* oklch */ color: oklch(55.6% 0.206 328.3);
Tailwind
colors: {
  custom: {
    50: '#ca78c6',
    500: '#af36ae',
    950: '#000000',
  },
}
SCSS
$custom: #af36ae;
$custom-light: #ca78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af36ae",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 300.496,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.20601,
    "h": 328.3
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#AF36AE
secondary
#7DC37E
accent
#DC4D4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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