#AF36C3#AF36C3

#AF36C3 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.223 H 321.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF36C3
RGBrgb(175, 54, 195)
HSLhsl(291, 57%, 49%)
HSVhsv(291, 72%, 76%)
CMYKcmyk(10.3%, 72.3%, 0%, 23.5%)
CIE-LABlab(46.57, 66.32, -49.57)
CIE-LCHlch(46.57, 82.80, 323.22°)
OKLaboklab(56.85% 0.1748 -0.1386)
OKLCHoklch(56.85% 0.223 321.6)
XYZxyz(28.8476, 15.6940, 53.1289)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36C3 #4AC336
analogous
#6836C3 #AF36C3 #C33691
triadic
#AF36C3 #C3AF36 #36C3AF
tetradic
#AF36C3 #C36836 #4AC336 #3691C3
square
#AF36C3 #C36836 #4AC336 #3691C3
split-complementary
#AF36C3 #91C336 #36C368
monochromatic
#591B63 #842993 #AF36C3 #C463D4 #D692E1

Accessibility & contrast

On white

5.07
#AF36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36C3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36C3#FFFFFF#000000##FFFFFF
##AF36C31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#B1517A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af36c3;
/* rgb */ color: rgb(175, 54, 195);
/* oklch */ color: oklch(56.8% 0.223 321.6);
Tailwind
colors: {
  custom: {
    50: '#cb79d6',
    500: '#af36c3',
    950: '#000000',
  },
}
SCSS
$custom: #af36c3;
$custom-light: #cb79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af36c3",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 291.489,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.22311,
    "h": 321.6
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#AF36C3
secondary
#92CC89
accent
#E0485D
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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