#AF97AF#AF97AF

#AF97AF is a light, muted purple. Relative luminance 0.343; OKLCH L 70.5% C 0.044 H 326.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AF97AF
RGBrgb(175, 151, 175)
HSLhsl(300, 13%, 64%)
HSVhsv(300, 14%, 69%)
CMYKcmyk(0%, 13.7%, 0%, 31.4%)
CIE-LABlab(65.23, 13.23, -9.20)
CIE-LCHlch(65.23, 16.11, 325.18°)
OKLaboklab(70.54% 0.0364 -0.0245)
OKLCHoklch(70.54% 0.044 326)
XYZxyz(36.4827, 34.3429, 45.2561)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF97AF #97AF97
analogous
#A397AF #AF97AF #AF97A3
triadic
#AF97AF #AFAF97 #97AFAF
tetradic
#AF97AF #AFA397 #97AF97 #97A3AF
square
#AF97AF #AFA397 #97AF97 #97A3AF
split-complementary
#AF97AF #A3AF97 #97AFA3
monochromatic
#735973 #947494 #AF97AF #CABACA #E4DCE4

Accessibility & contrast

On white

2.67
#AF97AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AF97AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF97AF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF97AF#FFFFFF#000000##000000
##AF97AF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#969DB0
Deuteranopia (green-blind)
#9B9FAE
Tritanopia (blue-blind)
#B1999F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af97af;
/* rgb */ color: rgb(175, 151, 175);
/* oklch */ color: oklch(70.5% 0.044 326.0);
Tailwind
colors: {
  custom: {
    50: '#c7b5c6',
    500: '#af97af',
    950: '#000000',
  },
}
SCSS
$custom: #af97af;
$custom-light: #c7b5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af97af",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 13.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.70535,
    "c": 0.04392,
    "h": 326
  },
  "luminance": 0.34342
}

Semantic roles & 50–950 ramp

primary
#AF97AF
secondary
#CDD5CD
accent
#974E4E
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131113
muted
#828082

Preview Lab

Preview with #AF97AF

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

Preview Lab → · Contrast checker → · Palette generator →

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