#AF59AA#AF59AA

#AF59AA is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.6% C 0.152 H 329.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF59AA
RGBrgb(175, 89, 170)
HSLhsl(303, 35%, 52%)
HSVhsv(303, 49%, 69%)
CMYKcmyk(0%, 49.1%, 2.9%, 31.4%)
CIE-LABlab(50.88, 46.43, -28.20)
CIE-LCHlch(50.88, 54.32, 328.73°)
OKLaboklab(59.56% 0.1306 -0.077)
OKLCHoklch(59.56% 0.152 329.5)
XYZxyz(28.5069, 19.1626, 40.2197)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59AA #59AF5E
analogous
#8959AF #AF59AA #AF597F
triadic
#AF59AA #AAAF59 #59AAAF
tetradic
#AF59AA #AF8959 #59AF5E #597FAF
square
#AF59AA #AF8959 #59AF5E #597FAF
split-complementary
#AF59AA #7FAF59 #59AF89
monochromatic
#602E5D #894285 #AF59AA #C382BF #D7ACD4

Accessibility & contrast

On white

4.35
#AF59AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF59AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59AA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59AA#FFFFFF#000000##000000
##AF59AA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#B4617A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af59aa;
/* rgb */ color: rgb(175, 89, 170);
/* oklch */ color: oklch(59.6% 0.152 329.5);
Tailwind
colors: {
  custom: {
    50: '#c98bc3',
    500: '#af59aa',
    950: '#000000',
  },
}
SCSS
$custom: #af59aa;
$custom-light: #c98bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af59aa",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 303.488,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.15167,
    "h": 329.5
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#AF59AA
secondary
#9FC5A1
accent
#CB635D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF59AA

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

Preview Lab → · Contrast checker → · Palette generator →

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