#AF369E#AF369E

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

Color values

HEX#AF369E
RGBrgb(175, 54, 158)
HSLhsl(308, 53%, 45%)
HSVhsv(308, 69%, 69%)
CMYKcmyk(0%, 69.1%, 9.7%, 31.4%)
CIE-LABlab(44.55, 60.09, -30.97)
CIE-LCHlch(44.55, 67.60, 332.73°)
OKLaboklab(54.75% 0.1742 -0.0847)
OKLCHoklch(54.75% 0.194 334.1)
XYZxyz(25.1701, 14.2230, 33.7608)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF369E #36AF47
analogous
#8436AF #AF369E #AF3661
triadic
#AF369E #9EAF36 #369EAF
tetradic
#AF369E #AF8436 #36AF47 #3661AF
square
#AF369E #AF8436 #36AF47 #3661AF
split-complementary
#AF369E #61AF36 #36AF84
monochromatic
#51194A #802874 #AF369E #CB57BB #DA86CE

Accessibility & contrast

On white

5.46
#AF369E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF369E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF369E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF369E#FFFFFF#000000##FFFFFF
##AF369E1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#B74065
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af369e;
/* rgb */ color: rgb(175, 54, 158);
/* oklch */ color: oklch(54.7% 0.194 334.1);
Tailwind
colors: {
  custom: {
    50: '#ca77bb',
    500: '#af369e',
    950: '#000000',
  },
}
SCSS
$custom: #af369e;
$custom-light: #ca77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af369e",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 308.43,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.19371,
    "h": 334.1
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF369E

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

Preview Lab → · Contrast checker → · Palette generator →

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