#AF39B5#AF39B5

#AF39B5 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.208 H 325.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF39B5
RGBrgb(175, 57, 181)
HSLhsl(297, 52%, 47%)
HSVhsv(297, 69%, 71%)
CMYKcmyk(3.3%, 68.5%, 0%, 29%)
CIE-LABlab(46.15, 62.75, -42.07)
CIE-LCHlch(46.15, 75.55, 326.16°)
OKLaboklab(56.29% 0.1722 -0.1168)
OKLCHoklch(56.29% 0.208 325.9)
XYZxyz(27.4822, 15.3782, 45.2279)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39B5 #3FB539
analogous
#7139B5 #AF39B5 #B5397D
triadic
#AF39B5 #B5AF39 #39B5AF
tetradic
#AF39B5 #B57139 #3FB539 #397DB5
square
#AF39B5 #B57139 #3FB539 #397DB5
split-complementary
#AF39B5 #7DB539 #39B571
monochromatic
#551C58 #822A86 #AF39B5 #C75FCD #D78DDB

Accessibility & contrast

On white

5.15
#AF39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF39B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39B5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39B5#FFFFFF#000000##FFFFFF
##AF39B51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F64B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#B34C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af39b5;
/* rgb */ color: rgb(175, 57, 181);
/* oklch */ color: oklch(56.3% 0.208 325.9);
Tailwind
colors: {
  custom: {
    50: '#ca7acc',
    500: '#af39b5',
    950: '#000000',
  },
}
SCSS
$custom: #af39b5;
$custom-light: #ca7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#af39b5",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 297.097,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.20807,
    "h": 325.9
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#AF39B5
secondary
#87C684
accent
#DC4C53
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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