#AF369D#AF369D

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

Color values

HEX#AF369D
RGBrgb(175, 54, 157)
HSLhsl(309, 53%, 45%)
HSVhsv(309, 69%, 69%)
CMYKcmyk(0%, 69.1%, 10.3%, 31.4%)
CIE-LABlab(44.50, 59.93, -30.45)
CIE-LCHlch(44.50, 67.22, 333.07°)
OKLaboklab(54.69% 0.1741 -0.0832)
OKLCHoklch(54.69% 0.193 334.5)
XYZxyz(25.0844, 14.1887, 33.3093)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF369D #36AF48
analogous
#8536AF #AF369D #AF3660
triadic
#AF369D #9DAF36 #369DAF
tetradic
#AF369D #AF8536 #36AF48 #3660AF
square
#AF369D #AF8536 #36AF48 #3660AF
split-complementary
#AF369D #60AF36 #36AF85
monochromatic
#511949 #802873 #AF369D #CB57BA #DA86CD

Accessibility & contrast

On white

5.47
#AF369D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF369D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF369D#FFFFFF#000000##FFFFFF
##AF369D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#5E709A
Tritanopia (blue-blind)
#B74065
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af369d;
/* rgb */ color: rgb(175, 54, 157);
/* oklch */ color: oklch(54.7% 0.193 334.5);
Tailwind
colors: {
  custom: {
    50: '#ca77ba',
    500: '#af369d',
    950: '#000000',
  },
}
SCSS
$custom: #af369d;
$custom-light: #ca77ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af369d",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 308.926,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.19297,
    "h": 334.5
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF369D

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

Preview Lab → · Contrast checker → · Palette generator →

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