#AF36C4#AF36C4

#AF36C4 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.224 H 321.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF36C4
RGBrgb(175, 54, 196)
HSLhsl(291, 57%, 49%)
HSVhsv(291, 72%, 77%)
CMYKcmyk(10.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(46.63, 66.50, -50.06)
CIE-LCHlch(46.63, 83.23, 323.03°)
OKLaboklab(56.91% 0.1747 -0.1401)
OKLCHoklch(56.91% 0.224 321.3)
XYZxyz(28.9610, 15.7394, 53.7264)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36C4 #4BC436
analogous
#6836C4 #AF36C4 #C43692
triadic
#AF36C4 #C4AF36 #36C4AF
tetradic
#AF36C4 #C46836 #4BC436 #3692C4
square
#AF36C4 #C46836 #4BC436 #3692C4
split-complementary
#AF36C4 #92C436 #36C468
monochromatic
#591C64 #842994 #AF36C4 #C363D4 #D693E1

Accessibility & contrast

On white

5.06
#AF36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36C4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36C4#FFFFFF#000000##FFFFFF
##AF36C41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#4773C1
Tritanopia (blue-blind)
#B0517A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af36c4;
/* rgb */ color: rgb(175, 54, 196);
/* oklch */ color: oklch(56.9% 0.224 321.3);
Tailwind
colors: {
  custom: {
    50: '#cb79d6',
    500: '#af36c4',
    950: '#000000',
  },
}
SCSS
$custom: #af36c4;
$custom-light: #cb79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af36c4",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 291.127,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.22394,
    "h": 321.3
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#AF36C4
secondary
#93CC89
accent
#E0485E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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