#AF369F#AF369F

#AF369F is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.194 H 333.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF369F
RGBrgb(175, 54, 159)
HSLhsl(308, 53%, 45%)
HSVhsv(308, 69%, 69%)
CMYKcmyk(0%, 69.1%, 9.1%, 31.4%)
CIE-LABlab(44.60, 60.24, -31.49)
CIE-LCHlch(44.60, 67.98, 332.40°)
OKLaboklab(54.8% 0.1743 -0.0862)
OKLCHoklch(54.8% 0.194 333.7)
XYZxyz(25.2565, 14.2576, 34.2159)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF369F #36AF46
analogous
#8336AF #AF369F #AF3662
triadic
#AF369F #9FAF36 #369FAF
tetradic
#AF369F #AF8336 #36AF46 #3662AF
square
#AF369F #AF8336 #36AF46 #3662AF
split-complementary
#AF369F #62AF36 #36AF83
monochromatic
#51194A #802875 #AF369F #CB57BC #DA86CF

Accessibility & contrast

On white

5.45
#AF369F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF369F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF369F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF369F#FFFFFF#000000##FFFFFF
##AF369F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af369f;
/* rgb */ color: rgb(175, 54, 159);
/* oklch */ color: oklch(54.8% 0.194 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca77bb',
    500: '#af369f',
    950: '#000000',
  },
}
SCSS
$custom: #af369f;
$custom-light: #ca77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af369f",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 307.934,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.19445,
    "h": 333.7
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#AF369F
secondary
#7DC387
accent
#DC5F4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF369F

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

Preview Lab → · Contrast checker → · Palette generator →

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