#AF89BB#AF89BB

#AF89BB is a light, moderate purple. Relative luminance 0.306; OKLCH L 68.3% C 0.084 H 317.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AF89BB
RGBrgb(175, 137, 187)
HSLhsl(286, 27%, 64%)
HSVhsv(286, 27%, 73%)
CMYKcmyk(6.4%, 26.7%, 0%, 26.7%)
CIE-LABlab(62.16, 23.49, -20.59)
CIE-LCHlch(62.16, 31.23, 318.75°)
OKLaboklab(68.3% 0.062 -0.0559)
OKLCHoklch(68.3% 0.084 317.9)
XYZxyz(35.5932, 30.5938, 51.0343)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89BB #95BB89
analogous
#9689BB #AF89BB #BB89AE
triadic
#AF89BB #BBAF89 #89BBAF
tetradic
#AF89BB #BB9689 #95BB89 #89AEBB
square
#AF89BB #BB9689 #95BB89 #89AEBB
split-complementary
#AF89BB #AEBB89 #89BB96
monochromatic
#734A80 #9562A5 #AF89BB #C9B0D1 #E4D7E8

Accessibility & contrast

On white

2.95
#AF89BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AF89BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89BB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89BB#FFFFFF#000000##000000
##AF89BB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BD
Deuteranopia (green-blind)
#8B98B9
Tritanopia (blue-blind)
#AF8F9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af89bb;
/* rgb */ color: rgb(175, 137, 187);
/* oklch */ color: oklch(68.3% 0.084 317.9);
Tailwind
colors: {
  custom: {
    50: '#c7abcf',
    500: '#af89bb',
    950: '#000000',
  },
}
SCSS
$custom: #af89bb;
$custom-light: #c7abcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af89bb",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 187
  },
  "hsl": {
    "h": 285.6,
    "s": 26.882,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68302,
    "c": 0.0835,
    "h": 317.9
  },
  "luminance": 0.30593
}

Semantic roles & 50–950 ramp

primary
#AF89BB
secondary
#CBD9C7
accent
#A54058
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #AF89BB

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

Preview Lab → · Contrast checker → · Palette generator →

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