#AF359F#AF359F

#AF359F is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.196 H 333.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF359F
RGBrgb(175, 53, 159)
HSLhsl(308, 54%, 45%)
HSVhsv(308, 70%, 69%)
CMYKcmyk(0%, 69.7%, 9.1%, 31.4%)
CIE-LABlab(44.47, 60.61, -31.70)
CIE-LCHlch(44.47, 68.40, 332.39°)
OKLaboklab(54.7% 0.1754 -0.0867)
OKLCHoklch(54.7% 0.196 333.7)
XYZxyz(25.2105, 14.1655, 34.2006)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF359F #35AF45
analogous
#8235AF #AF359F #AF3562
triadic
#AF359F #9FAF35 #359FAF
tetradic
#AF359F #AF8235 #35AF45 #3562AF
square
#AF359F #AF8235 #35AF45 #3562AF
split-complementary
#AF359F #62AF35 #35AF82
monochromatic
#51194A #802774 #AF359F #CC56BC #DA85CF

Accessibility & contrast

On white

5.48
#AF359F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF359F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF359F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF359F#FFFFFF#000000##FFFFFF
##AF359F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#B74066
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af359f;
/* rgb */ color: rgb(175, 53, 159);
/* oklch */ color: oklch(54.7% 0.196 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca77bb',
    500: '#af359f',
    950: '#000000',
  },
}
SCSS
$custom: #af359f;
$custom-light: #ca77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af359f",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 307.869,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.19568,
    "h": 333.7
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#AF359F
secondary
#7CC486
accent
#DD5E4B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF359F

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

Preview Lab → · Contrast checker → · Palette generator →

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