#AF359E#AF359E

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

Color values

HEX#AF359E
RGBrgb(175, 53, 158)
HSLhsl(308, 54%, 45%)
HSVhsv(308, 70%, 69%)
CMYKcmyk(0%, 69.7%, 9.7%, 31.4%)
CIE-LABlab(44.42, 60.46, -31.17)
CIE-LCHlch(44.42, 68.02, 332.72°)
OKLaboklab(54.65% 0.1753 -0.0853)
OKLCHoklch(54.65% 0.195 334.1)
XYZxyz(25.1241, 14.1309, 33.7454)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF359E #35AF46
analogous
#8335AF #AF359E #AF3561
triadic
#AF359E #9EAF35 #359EAF
tetradic
#AF359E #AF8335 #35AF46 #3561AF
square
#AF359E #AF8335 #35AF46 #3561AF
split-complementary
#AF359E #61AF35 #35AF83
monochromatic
#511949 #802774 #AF359E #CC56BB #DA85CE

Accessibility & contrast

On white

5.49
#AF359E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF359E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF359E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF359E#FFFFFF#000000##FFFFFF
##AF359E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af359e;
/* rgb */ color: rgb(175, 53, 158);
/* oklch */ color: oklch(54.6% 0.195 334.1);
Tailwind
colors: {
  custom: {
    50: '#ca77bb',
    500: '#af359e',
    950: '#000000',
  },
}
SCSS
$custom: #af359e;
$custom-light: #ca77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af359e",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 308.361,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5465,
    "c": 0.19493,
    "h": 334.1
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#AF359E
secondary
#7CC486
accent
#DD5F4B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF359E

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

Preview Lab → · Contrast checker → · Palette generator →

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