#AF71BF#AF71BF

#AF71BF is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.3% C 0.131 H 319.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF71BF
RGBrgb(175, 113, 191)
HSLhsl(288, 38%, 60%)
HSVhsv(288, 41%, 75%)
CMYKcmyk(8.4%, 40.8%, 0%, 25.1%)
CIE-LABlab(56.77, 37.72, -31.17)
CIE-LCHlch(56.77, 48.93, 320.42°)
OKLaboklab(64.26% 0.0994 -0.0858)
OKLCHoklch(64.26% 0.131 319.2)
XYZxyz(32.9871, 24.6868, 52.3075)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71BF #81BF71
analogous
#8871BF #AF71BF #BF71A8
triadic
#AF71BF #BFAF71 #71BFAF
tetradic
#AF71BF #BF8871 #81BF71 #71A8BF
square
#AF71BF #BF8871 #81BF71 #71A8BF
split-complementary
#AF71BF #A8BF71 #71BF88
monochromatic
#6F387D #954BA7 #AF71BF #C79BD2 #DFC5E5

Accessibility & contrast

On white

3.54
#AF71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AF71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71BF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71BF#FFFFFF#000000##000000
##AF71BF1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#768ABD
Tritanopia (blue-blind)
#B07B8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af71bf;
/* rgb */ color: rgb(175, 113, 191);
/* oklch */ color: oklch(64.3% 0.131 319.2);
Tailwind
colors: {
  custom: {
    50: '#c89bd2',
    500: '#af71bf',
    950: '#000000',
  },
}
SCSS
$custom: #af71bf;
$custom-light: #c89bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af71bf",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 287.692,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.13126,
    "h": 319.2
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#AF71BF
secondary
#BDD5B7
accent
#CE5A72
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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