#AF369C#AF369C

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

Color values

HEX#AF369C
RGBrgb(175, 54, 156)
HSLhsl(309, 53%, 45%)
HSVhsv(309, 69%, 69%)
CMYKcmyk(0%, 69.1%, 10.9%, 31.4%)
CIE-LABlab(44.45, 59.78, -29.92)
CIE-LCHlch(44.45, 66.85, 333.41°)
OKLaboklab(54.64% 0.174 -0.0817)
OKLCHoklch(54.64% 0.192 334.9)
XYZxyz(24.9994, 14.1547, 32.8615)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF369C #36AF49
analogous
#8536AF #AF369C #AF3660
triadic
#AF369C #9CAF36 #369CAF
tetradic
#AF369C #AF8536 #36AF49 #3660AF
square
#AF369C #AF8536 #36AF49 #3660AF
split-complementary
#AF369C #60AF36 #36AF85
monochromatic
#511949 #802872 #AF369C #CB57B9 #DA86CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF369C#FFFFFF#000000##FFFFFF
##AF369C1.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)
#355E9F
Deuteranopia (green-blind)
#5F7099
Tritanopia (blue-blind)
#B73F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af369c;
/* rgb */ color: rgb(175, 54, 156);
/* oklch */ color: oklch(54.6% 0.192 334.9);
Tailwind
colors: {
  custom: {
    50: '#ca77b9',
    500: '#af369c',
    950: '#000000',
  },
}
SCSS
$custom: #af369c;
$custom-light: #ca77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af369c",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 156
  },
  "hsl": {
    "h": 309.421,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.19224,
    "h": 334.9
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#AF369C
secondary
#7DC388
accent
#DC624C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF369C

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

Preview Lab → · Contrast checker → · Palette generator →

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