#AF36A4#AF36A4

#AF36A4 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.1% C 0.198 H 331.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF36A4
RGBrgb(175, 54, 164)
HSLhsl(305, 53%, 45%)
HSVhsv(305, 69%, 69%)
CMYKcmyk(0%, 69.1%, 6.3%, 31.4%)
CIE-LABlab(44.85, 61.03, -34.08)
CIE-LCHlch(44.85, 69.90, 330.82°)
OKLaboklab(55.06% 0.1747 -0.0936)
OKLCHoklch(55.06% 0.198 331.8)
XYZxyz(25.6992, 14.4347, 36.5474)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36A4 #36AF41
analogous
#7E36AF #AF36A4 #AF3667
triadic
#AF36A4 #A4AF36 #36A4AF
tetradic
#AF36A4 #AF7E36 #36AF41 #3667AF
square
#AF36A4 #AF7E36 #36AF41 #3667AF
split-complementary
#AF36A4 #67AF36 #36AF7E
monochromatic
#51194C #802878 #AF36A4 #CB57C1 #DA86D2

Accessibility & contrast

On white

5.40
#AF36A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF36A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36A4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36A4#FFFFFF#000000##FFFFFF
##AF36A41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#B64369
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af36a4;
/* rgb */ color: rgb(175, 54, 164);
/* oklch */ color: oklch(55.1% 0.198 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca78bf',
    500: '#af36a4',
    950: '#000000',
  },
}
SCSS
$custom: #af36a4;
$custom-light: #ca78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af36a4",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 305.455,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55058,
    "c": 0.19823,
    "h": 331.8
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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