#AF39AE#AF39AE

#AF39AE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.202 H 328.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF39AE
RGBrgb(175, 57, 174)
HSLhsl(301, 51%, 45%)
HSVhsv(301, 67%, 69%)
CMYKcmyk(0%, 67.4%, 0.6%, 31.4%)
CIE-LABlab(45.77, 61.55, -38.56)
CIE-LCHlch(45.77, 72.63, 327.94°)
OKLaboklab(55.89% 0.1721 -0.1066)
OKLCHoklch(55.89% 0.202 328.2)
XYZxyz(26.7820, 15.0981, 41.5398)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39AE #39AF3A
analogous
#7539AF #AF39AE #AF3973
triadic
#AF39AE #AEAF39 #39AEAF
tetradic
#AF39AE #AF7539 #39AF3A #3973AF
square
#AF39AE #AF7539 #39AF3A #3973AF
split-complementary
#AF39AE #73AF39 #39AF75
monochromatic
#531B52 #812A80 #AF39AE #CA5BC9 #D98AD8

Accessibility & contrast

On white

5.22
#AF39AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF39AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39AE#FFFFFF#000000##FFFFFF
##AF39AE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#B5496F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af39ae;
/* rgb */ color: rgb(175, 57, 174);
/* oklch */ color: oklch(55.9% 0.202 328.2);
Tailwind
colors: {
  custom: {
    50: '#ca79c6',
    500: '#af39ae',
    950: '#000000',
  },
}
SCSS
$custom: #af39ae;
$custom-light: #ca79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af39ae",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 300.508,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.20239,
    "h": 328.2
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#AF39AE
secondary
#81C381
accent
#DA4F4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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