#AF71AE#AF71AE

#AF71AE is a light, moderate purple. Relative luminance 0.240; OKLCH L 63.5% C 0.113 H 327.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF71AE
RGBrgb(175, 113, 174)
HSLhsl(301, 28%, 56%)
HSVhsv(301, 35%, 69%)
CMYKcmyk(0%, 35.4%, 0.6%, 31.4%)
CIE-LABlab(56.07, 34.36, -22.50)
CIE-LCHlch(56.07, 41.07, 326.78°)
OKLaboklab(63.5% 0.0954 -0.0611)
OKLCHoklch(63.5% 0.113 327.4)
XYZxyz(31.2237, 23.9815, 43.0204)
Luminance0.2398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71AE #71AF72
analogous
#9171AF #AF71AE #AF718F
triadic
#AF71AE #AEAF71 #71AEAF
tetradic
#AF71AE #AF9171 #71AF72 #718FAF
square
#AF71AE #AF9171 #71AF72 #718FAF
split-complementary
#AF71AE #8FAF71 #71AF91
monochromatic
#6A3C69 #915290 #AF71AE #C598C4 #DBBFDB

Accessibility & contrast

On white

3.62
#AF71AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF71AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71AE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71AE#FFFFFF#000000##000000
##AF71AE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81B0
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#B37688
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af71ae;
/* rgb */ color: rgb(175, 113, 174);
/* oklch */ color: oklch(63.5% 0.113 327.4);
Tailwind
colors: {
  custom: {
    50: '#c89bc6',
    500: '#af71ae',
    950: '#000000',
  },
}
SCSS
$custom: #af71ae;
$custom-light: #c89bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af71ae",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 300.968,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63504,
    "c": 0.11329,
    "h": 327.4
  },
  "luminance": 0.2398
}

Semantic roles & 50–950 ramp

primary
#AF71AE
secondary
#B1CBB2
accent
#C46564
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #AF71AE

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

Preview Lab → · Contrast checker → · Palette generator →

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