#AF36AC#AF36AC

#AF36AC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.204 H 329.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF36AC
RGBrgb(175, 54, 172)
HSLhsl(301, 53%, 45%)
HSVhsv(301, 69%, 69%)
CMYKcmyk(0%, 69.1%, 1.7%, 31.4%)
CIE-LABlab(45.27, 62.34, -38.17)
CIE-LCHlch(45.27, 73.09, 328.52°)
OKLaboklab(55.49% 0.1752 -0.1054)
OKLCHoklch(55.49% 0.204 329)
XYZxyz(26.4445, 14.7328, 40.4726)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36AC #36AF39
analogous
#7636AF #AF36AC #AF366F
triadic
#AF36AC #ACAF36 #36ACAF
tetradic
#AF36AC #AF7636 #36AF39 #366FAF
square
#AF36AC #AF7636 #36AF39 #366FAF
split-complementary
#AF36AC #6FAF36 #36AF76
monochromatic
#511950 #80287E #AF36AC #CB57C8 #DA86D8

Accessibility & contrast

On white

5.32
#AF36AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF36AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36AC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36AC#FFFFFF#000000##FFFFFF
##AF36AC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#B5466D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af36ac;
/* rgb */ color: rgb(175, 54, 172);
/* oklch */ color: oklch(55.5% 0.204 329.0);
Tailwind
colors: {
  custom: {
    50: '#ca78c5',
    500: '#af36ac',
    950: '#000000',
  },
}
SCSS
$custom: #af36ac;
$custom-light: #ca78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af36ac",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 301.488,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.20444,
    "h": 329
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#AF36AC
secondary
#7DC37F
accent
#DC4F4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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