#AF359B#AF359B

#AF359B is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.193 H 335.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF359B
RGBrgb(175, 53, 155)
HSLhsl(310, 54%, 45%)
HSVhsv(310, 70%, 69%)
CMYKcmyk(0%, 69.7%, 11.4%, 31.4%)
CIE-LABlab(44.27, 60.00, -29.61)
CIE-LCHlch(44.27, 66.90, 333.74°)
OKLaboklab(54.5% 0.175 -0.0808)
OKLCHoklch(54.5% 0.193 335.2)
XYZxyz(24.8690, 14.0289, 32.4021)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF359B #35AF49
analogous
#8635AF #AF359B #AF355E
triadic
#AF359B #9BAF35 #359BAF
tetradic
#AF359B #AF8635 #35AF49 #355EAF
square
#AF359B #AF8635 #35AF49 #355EAF
split-complementary
#AF359B #5EAF35 #35AF86
monochromatic
#511948 #802771 #AF359B #CC56B8 #DA85CC

Accessibility & contrast

On white

5.52
#AF359B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF359B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF359B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF359B#FFFFFF#000000##FFFFFF
##AF359B1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#5F6F98
Tritanopia (blue-blind)
#B83E64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af359b;
/* rgb */ color: rgb(175, 53, 155);
/* oklch */ color: oklch(54.5% 0.193 335.2);
Tailwind
colors: {
  custom: {
    50: '#ca77b9',
    500: '#af359b',
    950: '#000000',
  },
}
SCSS
$custom: #af359b;
$custom-light: #ca77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af359b",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 309.836,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.19274,
    "h": 335.2
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#AF359B
secondary
#7CC488
accent
#DD634B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF359B

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

Preview Lab → · Contrast checker → · Palette generator →

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