#AF39A2#AF39A2

#AF39A2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.2% C 0.193 H 332.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF39A2
RGBrgb(175, 57, 162)
HSLhsl(307, 51%, 45%)
HSVhsv(307, 67%, 69%)
CMYKcmyk(0%, 67.4%, 7.4%, 31.4%)
CIE-LABlab(45.15, 59.58, -32.41)
CIE-LCHlch(45.15, 67.83, 331.45°)
OKLaboklab(55.24% 0.1713 -0.0888)
OKLCHoklch(55.24% 0.193 332.6)
XYZxyz(25.6640, 14.6509, 35.6516)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39A2 #39AF46
analogous
#8139AF #AF39A2 #AF3967
triadic
#AF39A2 #A2AF39 #39A2AF
tetradic
#AF39A2 #AF8139 #39AF46 #3967AF
square
#AF39A2 #AF8139 #39AF46 #3967AF
split-complementary
#AF39A2 #67AF39 #39AF81
monochromatic
#531B4D #812A77 #AF39A2 #CA5BBE #D98AD0

Accessibility & contrast

On white

5.34
#AF39A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF39A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39A2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39A2#FFFFFF#000000##FFFFFF
##AF39A21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#B64469
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af39a2;
/* rgb */ color: rgb(175, 57, 162);
/* oklch */ color: oklch(55.2% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#ca79be',
    500: '#af39a2',
    950: '#000000',
  },
}
SCSS
$custom: #af39a2;
$custom-light: #ca79be;
$custom-dark: #000000;
JSON
{
  "hex": "#af39a2",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 306.61,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.19295,
    "h": 332.6
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#AF39A2
secondary
#81C388
accent
#DA5D4D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF39A2

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

Preview Lab → · Contrast checker → · Palette generator →

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