#AF36A3#AF36A3

#AF36A3 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.0% C 0.197 H 332.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF36A3
RGBrgb(175, 54, 163)
HSLhsl(306, 53%, 45%)
HSVhsv(306, 69%, 69%)
CMYKcmyk(0%, 69.1%, 6.9%, 31.4%)
CIE-LABlab(44.80, 60.87, -33.56)
CIE-LCHlch(44.80, 69.51, 331.13°)
OKLaboklab(55.01% 0.1747 -0.0921)
OKLCHoklch(55.01% 0.197 332.2)
XYZxyz(25.6093, 14.3987, 36.0737)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36A3 #36AF42
analogous
#7E36AF #AF36A3 #AF3667
triadic
#AF36A3 #A3AF36 #36A3AF
tetradic
#AF36A3 #AF7E36 #36AF42 #3667AF
square
#AF36A3 #AF7E36 #36AF42 #3667AF
split-complementary
#AF36A3 #67AF36 #36AF7E
monochromatic
#51194C #802877 #AF36A3 #CB57C0 #DA86D1

Accessibility & contrast

On white

5.41
#AF36A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF36A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36A3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36A3#FFFFFF#000000##FFFFFF
##AF36A31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#B64268
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af36a3;
/* rgb */ color: rgb(175, 54, 163);
/* oklch */ color: oklch(55.0% 0.197 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca78be',
    500: '#af36a3',
    950: '#000000',
  },
}
SCSS
$custom: #af36a3;
$custom-light: #ca78be;
$custom-dark: #000000;
JSON
{
  "hex": "#af36a3",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 305.95,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.19746,
    "h": 332.2
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#AF36A3
secondary
#7DC384
accent
#DC5A4C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF36A3

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

Preview Lab → · Contrast checker → · Palette generator →

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