#AF39C5#AF39C5

#AF39C5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.221 H 320.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF39C5
RGBrgb(175, 57, 197)
HSLhsl(291, 55%, 50%)
HSVhsv(291, 71%, 77%)
CMYKcmyk(11.2%, 71.1%, 0%, 22.7%)
CIE-LABlab(47.07, 65.60, -49.93)
CIE-LCHlch(47.07, 82.44, 322.72°)
OKLaboklab(57.24% 0.1718 -0.1397)
OKLCHoklch(57.24% 0.221 320.9)
XYZxyz(29.2192, 16.0730, 54.3758)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39C5 #4FC539
analogous
#6939C5 #AF39C5 #C53995
triadic
#AF39C5 #C5AF39 #39C5AF
tetradic
#AF39C5 #C56939 #4FC539 #3995C5
square
#AF39C5 #C56939 #4FC539 #3995C5
split-complementary
#AF39C5 #95C539 #39C569
monochromatic
#5B1E66 #852B96 #AF39C5 #C268D3 #D597E1

Accessibility & contrast

On white

4.98
#AF39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39C5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39C5#FFFFFF#000000##FFFFFF
##AF39C51.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#4874C2
Tritanopia (blue-blind)
#B0537C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af39c5;
/* rgb */ color: rgb(175, 57, 197);
/* oklch */ color: oklch(57.2% 0.221 320.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ad7',
    500: '#af39c5',
    950: '#000000',
  },
}
SCSS
$custom: #af39c5;
$custom-light: #cb7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#af39c5",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 290.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.22144,
    "h": 320.9
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#AF39C5
secondary
#97CD8D
accent
#DE4961
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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