#AF39B7#AF39B7

#AF39B7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.210 H 325.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF39B7
RGBrgb(175, 57, 183)
HSLhsl(296, 53%, 47%)
HSVhsv(296, 69%, 72%)
CMYKcmyk(4.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(46.26, 63.10, -43.07)
CIE-LCHlch(46.26, 76.40, 325.68°)
OKLaboklab(56.4% 0.1722 -0.1197)
OKLCHoklch(56.4% 0.21 325.2)
XYZxyz(27.6889, 15.4609, 46.3164)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B7 #41B739
analogous
#7039B7 #AF39B7 #B73980
triadic
#AF39B7 #B7AF39 #39B7AF
tetradic
#AF39B7 #B77039 #41B739 #3980B7
square
#AF39B7 #B77039 #41B739 #3980B7
split-complementary
#AF39B7 #80B739 #39B770
monochromatic
#561C5A #822A88 #AF39B7 #C660CD #D78EDC

Accessibility & contrast

On white

5.13
#AF39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B7#FFFFFF#000000##FFFFFF
##AF39B71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C64BB
Deuteranopia (green-blind)
#5273B4
Tritanopia (blue-blind)
#B34D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af39b7;
/* rgb */ color: rgb(175, 57, 183);
/* oklch */ color: oklch(56.4% 0.210 325.2);
Tailwind
colors: {
  custom: {
    50: '#ca7acd',
    500: '#af39b7',
    950: '#000000',
  },
}
SCSS
$custom: #af39b7;
$custom-light: #ca7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b7",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 296.19,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.20972,
    "h": 325.2
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#AF39B7
secondary
#89C785
accent
#DC4C55
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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