#AF71BC#AF71BC

#AF71BC is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.1% C 0.128 H 320.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF71BC
RGBrgb(175, 113, 188)
HSLhsl(290, 36%, 59%)
HSVhsv(290, 40%, 74%)
CMYKcmyk(6.9%, 39.9%, 0%, 26.3%)
CIE-LABlab(56.64, 37.11, -29.66)
CIE-LCHlch(56.64, 47.50, 321.36°)
OKLaboklab(64.12% 0.0987 -0.0814)
OKLCHoklch(64.12% 0.128 320.5)
XYZxyz(32.6603, 24.5561, 50.5866)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71BC #7EBC71
analogous
#8A71BC #AF71BC #BC71A4
triadic
#AF71BC #BCAF71 #71BCAF
tetradic
#AF71BC #BC8A71 #7EBC71 #71A4BC
square
#AF71BC #BC8A71 #7EBC71 #71A4BC
split-complementary
#AF71BC #A4BC71 #71BC8A
monochromatic
#6E3979 #944DA3 #AF71BC #C69BD0 #DEC4E3

Accessibility & contrast

On white

3.55
#AF71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AF71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71BC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71BC#FFFFFF#000000##000000
##AF71BC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#B07A8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af71bc;
/* rgb */ color: rgb(175, 113, 188);
/* oklch */ color: oklch(64.1% 0.128 320.5);
Tailwind
colors: {
  custom: {
    50: '#c89bd0',
    500: '#af71bc',
    950: '#000000',
  },
}
SCSS
$custom: #af71bc;
$custom-light: #c89bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af71bc",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 289.6,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.12798,
    "h": 320.5
  },
  "luminance": 0.24555
}

Semantic roles & 50–950 ramp

primary
#AF71BC
secondary
#BBD3B6
accent
#CC5C6F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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