#AF359C#AF359C

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

Color values

HEX#AF359C
RGBrgb(175, 53, 156)
HSLhsl(309, 54%, 45%)
HSVhsv(309, 70%, 69%)
CMYKcmyk(0%, 69.7%, 10.9%, 31.4%)
CIE-LABlab(44.32, 60.15, -30.13)
CIE-LCHlch(44.32, 67.27, 333.39°)
OKLaboklab(54.55% 0.1751 -0.0823)
OKLCHoklch(54.55% 0.193 334.8)
XYZxyz(24.9533, 14.0626, 32.8462)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF359C #35AF48
analogous
#8535AF #AF359C #AF355F
triadic
#AF359C #9CAF35 #359CAF
tetradic
#AF359C #AF8535 #35AF48 #355FAF
square
#AF359C #AF8535 #35AF48 #355FAF
split-complementary
#AF359C #5FAF35 #35AF85
monochromatic
#511948 #802772 #AF359C #CC56B9 #DA85CD

Accessibility & contrast

On white

5.51
#AF359C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF359C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF359C#FFFFFF#000000##FFFFFF
##AF359C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#5E6F99
Tritanopia (blue-blind)
#B73E64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af359c;
/* rgb */ color: rgb(175, 53, 156);
/* oklch */ color: oklch(54.5% 0.193 334.8);
Tailwind
colors: {
  custom: {
    50: '#ca77b9',
    500: '#af359c',
    950: '#000000',
  },
}
SCSS
$custom: #af359c;
$custom-light: #ca77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af359c",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 309.344,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.19347,
    "h": 334.8
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF359C

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

Preview Lab → · Contrast checker → · Palette generator →

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