#AF39B9#AF39B9

#AF39B9 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.211 H 324.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF39B9
RGBrgb(175, 57, 185)
HSLhsl(295, 53%, 47%)
HSVhsv(295, 69%, 73%)
CMYKcmyk(5.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(46.37, 63.45, -44.06)
CIE-LCHlch(46.37, 77.25, 325.22°)
OKLaboklab(56.52% 0.1722 -0.1226)
OKLCHoklch(56.52% 0.211 324.6)
XYZxyz(27.8986, 15.5447, 47.4205)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B9 #43B939
analogous
#6F39B9 #AF39B9 #B93983
triadic
#AF39B9 #B9AF39 #39B9AF
tetradic
#AF39B9 #B96F39 #43B939 #3983B9
square
#AF39B9 #B96F39 #43B939 #3983B9
split-complementary
#AF39B9 #83B939 #39B96F
monochromatic
#561C5B #832B8A #AF39B9 #C661CE #D790DD

Accessibility & contrast

On white

5.11
#AF39B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF39B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B9#FFFFFF#000000##FFFFFF
##AF39B91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#B34E75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af39b9;
/* rgb */ color: rgb(175, 57, 185);
/* oklch */ color: oklch(56.5% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ace',
    500: '#af39b9',
    950: '#000000',
  },
}
SCSS
$custom: #af39b9;
$custom-light: #ca7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b9",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 295.313,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.21137,
    "h": 324.6
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

primary
#AF39B9
secondary
#8BC886
accent
#DC4B57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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