#AF71BB#AF71BB

#AF71BB is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.1% C 0.127 H 320.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF71BB
RGBrgb(175, 113, 187)
HSLhsl(290, 35%, 59%)
HSVhsv(290, 40%, 73%)
CMYKcmyk(6.4%, 39.6%, 0%, 26.7%)
CIE-LABlab(56.60, 36.90, -29.15)
CIE-LCHlch(56.60, 47.03, 321.69°)
OKLaboklab(64.08% 0.0985 -0.08)
OKLCHoklch(64.08% 0.127 320.9)
XYZxyz(32.5529, 24.5132, 50.0208)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71BB #7DBB71
analogous
#8A71BB #AF71BB #BB71A2
triadic
#AF71BB #BBAF71 #71BBAF
tetradic
#AF71BB #BB8A71 #7DBB71 #71A2BB
square
#AF71BB #BB8A71 #7DBB71 #71A2BB
split-complementary
#AF71BB #A2BB71 #71BB8A
monochromatic
#6E3A78 #944DA1 #AF71BB #C69ACF #DEC4E3

Accessibility & contrast

On white

3.56
#AF71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AF71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71BB#FFFFFF#000000##000000
##AF71BB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BE
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#B07A8D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af71bb;
/* rgb */ color: rgb(175, 113, 187);
/* oklch */ color: oklch(64.1% 0.127 320.9);
Tailwind
colors: {
  custom: {
    50: '#c89bcf',
    500: '#af71bb',
    950: '#000000',
  },
}
SCSS
$custom: #af71bb;
$custom-light: #c89bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af71bb",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 290.27,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.12689,
    "h": 320.9
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#AF71BB
secondary
#BAD2B5
accent
#CB5D6E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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