#AF89AF#AF89AF

#AF89AF is a light, moderate purple. Relative luminance 0.301; OKLCH L 67.8% C 0.070 H 326.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AF89AF
RGBrgb(175, 137, 175)
HSLhsl(300, 19%, 61%)
HSVhsv(300, 22%, 69%)
CMYKcmyk(0%, 21.7%, 0%, 31.4%)
CIE-LABlab(61.74, 21.10, -14.44)
CIE-LCHlch(61.74, 25.57, 325.61°)
OKLaboklab(67.84% 0.0582 -0.0388)
OKLCHoklch(67.84% 0.07 326.3)
XYZxyz(34.3619, 30.1013, 44.5491)
Luminance0.3010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89AF #89AF89
analogous
#9C89AF #AF89AF #AF899C
triadic
#AF89AF #AFAF89 #89AFAF
tetradic
#AF89AF #AF9C89 #89AF89 #899CAF
square
#AF89AF #AF9C89 #89AF89 #899CAF
split-complementary
#AF89AF #9CAF89 #89AF9C
monochromatic
#714D71 #956595 #AF89AF #C8ADC8 #E0D2E0

Accessibility & contrast

On white

2.99
#AF89AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AF89AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89AF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89AF#FFFFFF#000000##000000
##AF89AF1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8792B1
Deuteranopia (green-blind)
#8F97AE
Tritanopia (blue-blind)
#B18C96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af89af;
/* rgb */ color: rgb(175, 137, 175);
/* oklch */ color: oklch(67.8% 0.070 326.3);
Tailwind
colors: {
  custom: {
    50: '#c7abc7',
    500: '#af89af',
    950: '#000000',
  },
}
SCSS
$custom: #af89af;
$custom-light: #c7abc7;
$custom-dark: #000000;
JSON
{
  "hex": "#af89af",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67839,
    "c": 0.06997,
    "h": 326.3
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#AF89AF
secondary
#C3D1C3
accent
#9E4848
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #AF89AF

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

Preview Lab → · Contrast checker → · Palette generator →

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