#AF36AD#AF36AD

#AF36AD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.205 H 328.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF36AD
RGBrgb(175, 54, 173)
HSLhsl(301, 53%, 45%)
HSVhsv(301, 69%, 69%)
CMYKcmyk(0%, 69.1%, 1.1%, 31.4%)
CIE-LABlab(45.32, 62.50, -38.68)
CIE-LCHlch(45.32, 73.50, 328.25°)
OKLaboklab(55.55% 0.1752 -0.1069)
OKLCHoklch(55.55% 0.205 328.6)
XYZxyz(26.5409, 14.7713, 40.9803)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36AD #36AF38
analogous
#7536AF #AF36AD #AF3670
triadic
#AF36AD #ADAF36 #36ADAF
tetradic
#AF36AD #AF7536 #36AF38 #3670AF
square
#AF36AD #AF7536 #36AF38 #3670AF
split-complementary
#AF36AD #70AF36 #36AF75
monochromatic
#511951 #80287F #AF36AD #CB57C9 #DA86D8

Accessibility & contrast

On white

5.31
#AF36AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF36AD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36AD#FFFFFF#000000##FFFFFF
##AF36AD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B0
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#B5476E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af36ad;
/* rgb */ color: rgb(175, 54, 173);
/* oklch */ color: oklch(55.5% 0.205 328.6);
Tailwind
colors: {
  custom: {
    50: '#ca78c6',
    500: '#af36ad',
    950: '#000000',
  },
}
SCSS
$custom: #af36ad;
$custom-light: #ca78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af36ad",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 300.992,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.20523,
    "h": 328.6
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF36AD

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

Preview Lab → · Contrast checker → · Palette generator →

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