#AF8AAB#AF8AAB

#AF8AAB is a light, moderate purple. Relative luminance 0.302; OKLCH L 67.9% C 0.064 H 329.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AF8AAB
RGBrgb(175, 138, 171)
HSLhsl(306, 19%, 61%)
HSVhsv(306, 21%, 69%)
CMYKcmyk(0%, 21.1%, 2.3%, 31.4%)
CIE-LABlab(61.85, 19.77, -12.00)
CIE-LCHlch(61.85, 23.12, 328.74°)
OKLaboklab(67.88% 0.0553 -0.0321)
OKLCHoklch(67.88% 0.064 329.9)
XYZxyz(34.1176, 30.2321, 42.5583)
Luminance0.3023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8AAB #8AAF8E
analogous
#A18AAF #AF8AAB #AF8A99
triadic
#AF8AAB #ABAF8A #8AABAF
tetradic
#AF8AAB #AFA18A #8AAF8E #8A99AF
square
#AF8AAB #AFA18A #8AAF8E #8A99AF
split-complementary
#AF8AAB #99AF8A #8AAFA1
monochromatic
#714D6D #966690 #AF8AAB #C8AEC5 #E1D3DF

Accessibility & contrast

On white

2.98
#AF8AAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AF8AAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8AAB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8AAB#FFFFFF#000000##000000
##AF8AAB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8992AC
Deuteranopia (green-blind)
#9197AA
Tritanopia (blue-blind)
#B28C95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af8aab;
/* rgb */ color: rgb(175, 138, 171);
/* oklch */ color: oklch(67.9% 0.064 329.9);
Tailwind
colors: {
  custom: {
    50: '#c7acc4',
    500: '#af8aab',
    950: '#000000',
  },
}
SCSS
$custom: #af8aab;
$custom-light: #c7acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#af8aab",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 306.486,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.06395,
    "h": 329.9
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#AF8AAB
secondary
#C3D1C5
accent
#9D5248
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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