#AF39A4#AF39A4

#AF39A4 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.194 H 331.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF39A4
RGBrgb(175, 57, 164)
HSLhsl(306, 51%, 45%)
HSVhsv(306, 67%, 69%)
CMYKcmyk(0%, 67.4%, 6.3%, 31.4%)
CIE-LABlab(45.25, 59.90, -33.45)
CIE-LCHlch(45.25, 68.61, 330.82°)
OKLaboklab(55.35% 0.1715 -0.0918)
OKLCHoklch(55.35% 0.194 331.8)
XYZxyz(25.8432, 14.7226, 36.5954)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39A4 #39AF44
analogous
#7F39AF #AF39A4 #AF3969
triadic
#AF39A4 #A4AF39 #39A4AF
tetradic
#AF39A4 #AF7F39 #39AF44 #3969AF
square
#AF39A4 #AF7F39 #39AF44 #3969AF
split-complementary
#AF39A4 #69AF39 #39AF7F
monochromatic
#531B4D #812A79 #AF39A4 #CA5BBF #D98AD1

Accessibility & contrast

On white

5.32
#AF39A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF39A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39A4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39A4#FFFFFF#000000##FFFFFF
##AF39A41.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#B6456A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af39a4;
/* rgb */ color: rgb(175, 57, 164);
/* oklch */ color: oklch(55.3% 0.194 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca79bf',
    500: '#af39a4',
    950: '#000000',
  },
}
SCSS
$custom: #af39a4;
$custom-light: #ca79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af39a4",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 305.593,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.19449,
    "h": 331.8
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#AF39A4
secondary
#81C387
accent
#DA5B4D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF39A4

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

Preview Lab → · Contrast checker → · Palette generator →

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