#AF36C9#AF36C9

#AF36C9 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.228 H 319.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF36C9
RGBrgb(175, 54, 201)
HSLhsl(289, 58%, 50%)
HSVhsv(289, 73%, 79%)
CMYKcmyk(12.9%, 73.1%, 0%, 21.2%)
CIE-LABlab(46.94, 67.41, -52.46)
CIE-LCHlch(46.94, 85.42, 322.11°)
OKLaboklab(57.23% 0.1744 -0.1471)
OKLCHoklch(57.23% 0.228 319.8)
XYZxyz(29.5397, 15.9708, 56.7737)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36C9 #50C936
analogous
#6636C9 #AF36C9 #C93699
triadic
#AF36C9 #C9AF36 #36C9AF
tetradic
#AF36C9 #C96636 #50C936 #3699C9
square
#AF36C9 #C96636 #50C936 #3699C9
split-complementary
#AF36C9 #99C936 #36C966
monochromatic
#5B1C69 #852999 #AF36C9 #C266D6 #D596E3

Accessibility & contrast

On white

5.01
#AF36C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF36C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36C9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36C9#FFFFFF#000000##FFFFFF
##AF36C91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#AF537D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af36c9;
/* rgb */ color: rgb(175, 54, 201);
/* oklch */ color: oklch(57.2% 0.228 319.8);
Tailwind
colors: {
  custom: {
    50: '#cb79da',
    500: '#af36c9',
    950: '#000000',
  },
}
SCSS
$custom: #af36c9;
$custom-light: #cb79da;
$custom-dark: #000000;
JSON
{
  "hex": "#af36c9",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 289.388,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.57225,
    "c": 0.22812,
    "h": 319.8
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#AF36C9
secondary
#98CE8C
accent
#E14762
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF36C9

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

Preview Lab → · Contrast checker → · Palette generator →

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