#AF39D5#AF39D5

#AF39D5 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.235 H 316.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF39D5
RGBrgb(175, 57, 213)
HSLhsl(285, 65%, 53%)
HSVhsv(285, 73%, 84%)
CMYKcmyk(17.8%, 73.2%, 0%, 16.5%)
CIE-LABlab(48.06, 68.59, -57.55)
CIE-LCHlch(48.06, 89.54, 320.00°)
OKLaboklab(58.27% 0.1704 -0.162)
OKLCHoklch(58.27% 0.235 316.4)
XYZxyz(31.1507, 16.8456, 64.5485)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39D5 #5FD539
analogous
#6139D5 #AF39D5 #D539AD
triadic
#AF39D5 #D5AF39 #39D5AF
tetradic
#AF39D5 #D56139 #5FD539 #39ADD5
square
#AF39D5 #D56139 #5FD539 #39ADD5
split-complementary
#AF39D5 #ADD539 #39D561
monochromatic
#621A7A #8B25AC #AF39D5 #C36BE0 #D89EEA

Accessibility & contrast

On white

4.81
#AF39D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF39D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39D5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39D5#FFFFFF#000000##FFFFFF
##AF39D51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#3975D2
Tritanopia (blue-blind)
#AD5A84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af39d5;
/* rgb */ color: rgb(175, 57, 213);
/* oklch */ color: oklch(58.3% 0.235 316.4);
Tailwind
colors: {
  custom: {
    50: '#cb7be3',
    500: '#af39d5',
    950: '#000000',
  },
}
SCSS
$custom: #af39d5;
$custom-light: #cb7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#af39d5",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 285.385,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.23514,
    "h": 316.4
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#AF39D5
secondary
#A4D793
accent
#E84069
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A15
muted
#837C84

Preview Lab

Preview with #AF39D5

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

Preview Lab → · Contrast checker → · Palette generator →

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