#AF36A5#AF36A5

#AF36A5 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.199 H 331.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF36A5
RGBrgb(175, 54, 165)
HSLhsl(305, 53%, 45%)
HSVhsv(305, 69%, 69%)
CMYKcmyk(0%, 69.1%, 5.7%, 31.4%)
CIE-LABlab(44.90, 61.19, -34.60)
CIE-LCHlch(44.90, 70.30, 330.52°)
OKLaboklab(55.11% 0.1748 -0.0951)
OKLCHoklch(55.11% 0.199 331.4)
XYZxyz(25.7899, 14.4709, 37.0249)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36A5 #36AF40
analogous
#7D36AF #AF36A5 #AF3668
triadic
#AF36A5 #A5AF36 #36A5AF
tetradic
#AF36A5 #AF7D36 #36AF40 #3668AF
square
#AF36A5 #AF7D36 #36AF40 #3668AF
split-complementary
#AF36A5 #68AF36 #36AF7D
monochromatic
#51194D #802879 #AF36A5 #CB57C2 #DA86D3

Accessibility & contrast

On white

5.39
#AF36A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF36A5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36A5#FFFFFF#000000##FFFFFF
##AF36A51.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af36a5;
/* rgb */ color: rgb(175, 54, 165);
/* oklch */ color: oklch(55.1% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#ca78c0',
    500: '#af36a5',
    950: '#000000',
  },
}
SCSS
$custom: #af36a5;
$custom-light: #ca78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#af36a5",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 304.959,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55111,
    "c": 0.19899,
    "h": 331.4
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#AF36A5
secondary
#7DC383
accent
#DC584C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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