#AF36B6#AF36B6

#AF36B6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.212 H 325.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF36B6
RGBrgb(175, 54, 182)
HSLhsl(297, 54%, 46%)
HSVhsv(297, 70%, 71%)
CMYKcmyk(3.8%, 70.3%, 0%, 28.6%)
CIE-LABlab(45.81, 64.03, -43.19)
CIE-LCHlch(45.81, 77.23, 326.00°)
OKLaboklab(56.06% 0.1753 -0.12)
OKLCHoklch(56.06% 0.212 325.6)
XYZxyz(27.4413, 15.1315, 45.7222)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36B6 #3DB636
analogous
#6F36B6 #AF36B6 #B6367D
triadic
#AF36B6 #B6AF36 #36B6AF
tetradic
#AF36B6 #B66F36 #3DB636 #367DB6
square
#AF36B6 #B66F36 #3DB636 #367DB6
split-complementary
#AF36B6 #7DB636 #36B66F
monochromatic
#541A58 #822887 #AF36B6 #C85BCE #D88ADC

Accessibility & contrast

On white

5.22
#AF36B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF36B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36B6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36B6#FFFFFF#000000##FFFFFF
##AF36B61.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BA
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#B34B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af36b6;
/* rgb */ color: rgb(175, 54, 182);
/* oklch */ color: oklch(56.1% 0.212 325.6);
Tailwind
colors: {
  custom: {
    50: '#ca78cc',
    500: '#af36b6',
    950: '#000000',
  },
}
SCSS
$custom: #af36b6;
$custom-light: #ca78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af36b6",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 296.719,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.21242,
    "h": 325.6
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#AF36B6
secondary
#85C681
accent
#DE4A52
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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