#AF36A0#AF36A0

#AF36A0 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.195 H 333.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF36A0
RGBrgb(175, 54, 160)
HSLhsl(307, 53%, 45%)
HSVhsv(307, 69%, 69%)
CMYKcmyk(0%, 69.1%, 8.6%, 31.4%)
CIE-LABlab(44.65, 60.40, -32.01)
CIE-LCHlch(44.65, 68.36, 332.08°)
OKLaboklab(54.85% 0.1744 -0.0877)
OKLCHoklch(54.85% 0.195 333.3)
XYZxyz(25.3437, 14.2924, 34.6748)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36A0 #36AF45
analogous
#8136AF #AF36A0 #AF3664
triadic
#AF36A0 #A0AF36 #36A0AF
tetradic
#AF36A0 #AF8136 #36AF45 #3664AF
square
#AF36A0 #AF8136 #36AF45 #3664AF
split-complementary
#AF36A0 #64AF36 #36AF81
monochromatic
#51194A #802875 #AF36A0 #CB57BD #DA86CF

Accessibility & contrast

On white

5.44
#AF36A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF36A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36A0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36A0#FFFFFF#000000##FFFFFF
##AF36A01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA3
Deuteranopia (green-blind)
#5D709D
Tritanopia (blue-blind)
#B74167
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af36a0;
/* rgb */ color: rgb(175, 54, 160);
/* oklch */ color: oklch(54.8% 0.195 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca77bc',
    500: '#af36a0',
    950: '#000000',
  },
}
SCSS
$custom: #af36a0;
$custom-light: #ca77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af36a0",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 160
  },
  "hsl": {
    "h": 307.438,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.1952,
    "h": 333.3
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#AF36A0
secondary
#7DC386
accent
#DC5D4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF36A0

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

Preview Lab → · Contrast checker → · Palette generator →

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