#AF36AF#AF36AF

#AF36AF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.207 H 327.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF36AF
RGBrgb(175, 54, 175)
HSLhsl(300, 53%, 45%)
HSVhsv(300, 69%, 69%)
CMYKcmyk(0%, 69.1%, 0%, 31.4%)
CIE-LABlab(45.43, 62.84, -39.69)
CIE-LCHlch(45.43, 74.32, 327.72°)
OKLaboklab(55.66% 0.1752 -0.1098)
OKLCHoklch(55.66% 0.207 327.9)
XYZxyz(26.7359, 14.8493, 42.0072)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36AF #36AF36
analogous
#7336AF #AF36AF #AF3673
triadic
#AF36AF #AFAF36 #36AFAF
tetradic
#AF36AF #AF7336 #36AF36 #3673AF
square
#AF36AF #AF7336 #36AF36 #3673AF
split-complementary
#AF36AF #73AF36 #36AF73
monochromatic
#511951 #802880 #AF36AF #CB57CB #DA86DA

Accessibility & contrast

On white

5.29
#AF36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36AF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36AF#FFFFFF#000000##FFFFFF
##AF36AF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#B4486F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af36af;
/* rgb */ color: rgb(175, 54, 175);
/* oklch */ color: oklch(55.7% 0.207 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca78c7',
    500: '#af36af',
    950: '#000000',
  },
}
SCSS
$custom: #af36af;
$custom-light: #ca78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af36af",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.20681,
    "h": 327.9
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#AF36AF
secondary
#7DC37D
accent
#DC4C4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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