#AF39A5#AF39A5

#AF39A5 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.195 H 331.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF39A5
RGBrgb(175, 57, 165)
HSLhsl(305, 51%, 45%)
HSVhsv(305, 67%, 69%)
CMYKcmyk(0%, 67.4%, 5.7%, 31.4%)
CIE-LABlab(45.30, 60.07, -33.96)
CIE-LCHlch(45.30, 69.00, 330.51°)
OKLaboklab(55.4% 0.1715 -0.0933)
OKLCHoklch(55.4% 0.195 331.5)
XYZxyz(25.9338, 14.7588, 37.0728)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39A5 #39AF43
analogous
#7E39AF #AF39A5 #AF396A
triadic
#AF39A5 #A5AF39 #39A5AF
tetradic
#AF39A5 #AF7E39 #39AF43 #396AAF
square
#AF39A5 #AF7E39 #39AF43 #396AAF
split-complementary
#AF39A5 #6AAF39 #39AF7E
monochromatic
#531B4E #812A79 #AF39A5 #CA5BC0 #D98AD2

Accessibility & contrast

On white

5.31
#AF39A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF39A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39A5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39A5#FFFFFF#000000##FFFFFF
##AF39A51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#B6456A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af39a5;
/* rgb */ color: rgb(175, 57, 165);
/* oklch */ color: oklch(55.4% 0.195 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca79c0',
    500: '#af39a5',
    950: '#000000',
  },
}
SCSS
$custom: #af39a5;
$custom-light: #ca79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#af39a5",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 305.085,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55401,
    "c": 0.19527,
    "h": 331.5
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#AF39A5
secondary
#81C386
accent
#DA594D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF39A5

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

Preview Lab → · Contrast checker → · Palette generator →

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