#AF97BB#AF97BB

#AF97BB is a light, muted purple. Relative luminance 0.348; OKLCH L 71.0% C 0.058 H 314.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AF97BB
RGBrgb(175, 151, 187)
HSLhsl(280, 21%, 66%)
HSVhsv(280, 19%, 73%)
CMYKcmyk(6.4%, 19.3%, 0%, 26.7%)
CIE-LABlab(65.62, 15.60, -15.35)
CIE-LCHlch(65.62, 21.89, 315.48°)
OKLaboklab(70.96% 0.0406 -0.0414)
OKLCHoklch(70.96% 0.058 314.4)
XYZxyz(37.7140, 34.8354, 51.7412)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF97BB #A3BB97
analogous
#9D97BB #AF97BB #BB97B5
triadic
#AF97BB #BBAF97 #97BBAF
tetradic
#AF97BB #BB9D97 #A3BB97 #97B5BB
square
#AF97BB #BB9D97 #A3BB97 #97B5BB
split-complementary
#AF97BB #B5BB97 #97BB9D
monochromatic
#735582 #9372A3 #AF97BB #CBBCD3 #E8E1EB

Accessibility & contrast

On white

2.64
#AF97BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AF97BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF97BB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF97BB#FFFFFF#000000##000000
##AF97BB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#929EBD
Deuteranopia (green-blind)
#97A0BA
Tritanopia (blue-blind)
#AE9BA3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af97bb;
/* rgb */ color: rgb(175, 151, 187);
/* oklch */ color: oklch(71.0% 0.058 314.4);
Tailwind
colors: {
  custom: {
    50: '#c7b5cf',
    500: '#af97bb',
    950: '#000000',
  },
}
SCSS
$custom: #af97bb;
$custom-light: #c7b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af97bb",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70962,
    "c": 0.05801,
    "h": 314.4
  },
  "luminance": 0.34835
}

Semantic roles & 50–950 ramp

primary
#AF97BB
secondary
#D5DDD1
accent
#9F4664
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #AF97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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