#AF36A9#AF36A9

#AF36A9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.202 H 330.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF36A9
RGBrgb(175, 54, 169)
HSLhsl(303, 53%, 45%)
HSVhsv(303, 69%, 69%)
CMYKcmyk(0%, 69.1%, 3.4%, 31.4%)
CIE-LABlab(45.11, 61.84, -36.64)
CIE-LCHlch(45.11, 71.88, 329.35°)
OKLaboklab(55.33% 0.175 -0.101)
OKLCHoklch(55.33% 0.202 330)
XYZxyz(26.1596, 14.6188, 38.9723)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36A9 #36AF3C
analogous
#7836AF #AF36A9 #AF366D
triadic
#AF36A9 #A9AF36 #36A9AF
tetradic
#AF36A9 #AF7836 #36AF3C #366DAF
square
#AF36A9 #AF7836 #36AF3C #366DAF
split-complementary
#AF36A9 #6DAF36 #36AF78
monochromatic
#51194F #80287C #AF36A9 #CB57C5 #DA86D5

Accessibility & contrast

On white

5.35
#AF36A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF36A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36A9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36A9#FFFFFF#000000##FFFFFF
##AF36A91.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#B5456B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af36a9;
/* rgb */ color: rgb(175, 54, 169);
/* oklch */ color: oklch(55.3% 0.202 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca78c3',
    500: '#af36a9',
    950: '#000000',
  },
}
SCSS
$custom: #af36a9;
$custom-light: #ca78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af36a9",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 302.975,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.20208,
    "h": 330
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#AF36A9
secondary
#7DC381
accent
#DC534C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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