#AF39A3#AF39A3

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

Color values

HEX#AF39A3
RGBrgb(175, 57, 163)
HSLhsl(306, 51%, 45%)
HSVhsv(306, 67%, 69%)
CMYKcmyk(0%, 67.4%, 6.9%, 31.4%)
CIE-LABlab(45.20, 59.74, -32.93)
CIE-LCHlch(45.20, 68.22, 331.14°)
OKLaboklab(55.3% 0.1714 -0.0903)
OKLCHoklch(55.3% 0.194 332.2)
XYZxyz(25.7532, 14.6866, 36.1216)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39A3 #39AF45
analogous
#8039AF #AF39A3 #AF3968
triadic
#AF39A3 #A3AF39 #39A3AF
tetradic
#AF39A3 #AF8039 #39AF45 #3968AF
square
#AF39A3 #AF8039 #39AF45 #3968AF
split-complementary
#AF39A3 #68AF39 #39AF80
monochromatic
#531B4D #812A78 #AF39A3 #CA5BBF #D98AD1

Accessibility & contrast

On white

5.33
#AF39A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF39A3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39A3#FFFFFF#000000##FFFFFF
##AF39A31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#B64469
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af39a3;
/* rgb */ color: rgb(175, 57, 163);
/* oklch */ color: oklch(55.3% 0.194 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca79be',
    500: '#af39a3',
    950: '#000000',
  },
}
SCSS
$custom: #af39a3;
$custom-light: #ca79be;
$custom-dark: #000000;
JSON
{
  "hex": "#af39a3",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 306.102,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.19372,
    "h": 332.2
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF39A3

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

Preview Lab → · Contrast checker → · Palette generator →

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