#AF39B8#AF39B8

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

Color values

HEX#AF39B8
RGBrgb(175, 57, 184)
HSLhsl(296, 53%, 47%)
HSVhsv(296, 69%, 72%)
CMYKcmyk(4.9%, 69%, 0%, 27.8%)
CIE-LABlab(46.31, 63.27, -43.57)
CIE-LCHlch(46.31, 76.82, 325.45°)
OKLaboklab(56.46% 0.1722 -0.1211)
OKLCHoklch(56.46% 0.211 324.9)
XYZxyz(27.7934, 15.5026, 46.8665)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B8 #42B839
analogous
#7039B8 #AF39B8 #B83982
triadic
#AF39B8 #B8AF39 #39B8AF
tetradic
#AF39B8 #B87039 #42B839 #3982B8
square
#AF39B8 #B87039 #42B839 #3982B8
split-complementary
#AF39B8 #82B839 #39B870
monochromatic
#561C5B #832B89 #AF39B8 #C660CE #D78FDC

Accessibility & contrast

On white

5.12
#AF39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B8#FFFFFF#000000##FFFFFF
##AF39B81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BC
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#B34E74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af39b8;
/* rgb */ color: rgb(175, 57, 184);
/* oklch */ color: oklch(56.5% 0.211 324.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ace',
    500: '#af39b8',
    950: '#000000',
  },
}
SCSS
$custom: #af39b8;
$custom-light: #ca7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b8",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 295.748,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.21054,
    "h": 324.9
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#AF39B8
secondary
#8AC786
accent
#DC4C56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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