#AF87AA#AF87AA

#AF87AA is a light, moderate purple. Relative luminance 0.293; OKLCH L 67.3% C 0.069 H 330.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AF87AA
RGBrgb(175, 135, 170)
HSLhsl(308, 20%, 61%)
HSVhsv(308, 23%, 69%)
CMYKcmyk(0%, 22.9%, 2.9%, 31.4%)
CIE-LABlab(61.09, 21.27, -12.59)
CIE-LCHlch(61.09, 24.71, 329.38°)
OKLaboklab(67.28% 0.0597 -0.0337)
OKLCHoklch(67.28% 0.069 330.6)
XYZxyz(33.5982, 29.3451, 41.9167)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF87AA #87AF8C
analogous
#A087AF #AF87AA #AF8796
triadic
#AF87AA #AAAF87 #87AAAF
tetradic
#AF87AA #AFA087 #87AF8C #8796AF
square
#AF87AA #AFA087 #87AF8C #8796AF
split-complementary
#AF87AA #96AF87 #87AFA0
monochromatic
#714B6C #95648F #AF87AA #C7ACC4 #E0D0DE

Accessibility & contrast

On white

3.06
#AF87AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#AF87AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF87AA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF87AA#FFFFFF#000000##000000
##AF87AA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8690AB
Deuteranopia (green-blind)
#8F95A9
Tritanopia (blue-blind)
#B28993
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af87aa;
/* rgb */ color: rgb(175, 135, 170);
/* oklch */ color: oklch(67.3% 0.069 330.6);
Tailwind
colors: {
  custom: {
    50: '#c7aac3',
    500: '#af87aa',
    950: '#000000',
  },
}
SCSS
$custom: #af87aa;
$custom-light: #c7aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#af87aa",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 307.5,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67279,
    "c": 0.06855,
    "h": 330.6
  },
  "luminance": 0.29344
}

Semantic roles & 50–950 ramp

primary
#AF87AA
secondary
#C1D0C3
accent
#9E5247
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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