#AF359D#AF359D

#AF359D is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.194 H 334.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF359D
RGBrgb(175, 53, 157)
HSLhsl(309, 54%, 45%)
HSVhsv(309, 70%, 69%)
CMYKcmyk(0%, 69.7%, 10.3%, 31.4%)
CIE-LABlab(44.37, 60.30, -30.65)
CIE-LCHlch(44.37, 67.65, 333.06°)
OKLaboklab(54.6% 0.1752 -0.0838)
OKLCHoklch(54.6% 0.194 334.4)
XYZxyz(25.0383, 14.0966, 33.2940)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF359D #35AF47
analogous
#8435AF #AF359D #AF3560
triadic
#AF359D #9DAF35 #359DAF
tetradic
#AF359D #AF8435 #35AF47 #3560AF
square
#AF359D #AF8435 #35AF47 #3560AF
split-complementary
#AF359D #60AF35 #35AF84
monochromatic
#511949 #802773 #AF359D #CC56BA #DA85CD

Accessibility & contrast

On white

5.50
#AF359D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF359D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF359D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF359D#FFFFFF#000000##FFFFFF
##AF359D1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#B73F65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af359d;
/* rgb */ color: rgb(175, 53, 157);
/* oklch */ color: oklch(54.6% 0.194 334.4);
Tailwind
colors: {
  custom: {
    50: '#ca77ba',
    500: '#af359d',
    950: '#000000',
  },
}
SCSS
$custom: #af359d;
$custom-light: #ca77ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af359d",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 308.852,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.1942,
    "h": 334.4
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#AF359D
secondary
#7CC487
accent
#DD604B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF359D

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

Preview Lab → · Contrast checker → · Palette generator →

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