#AF8CAA#AF8CAA

#AF8CAA is a light, muted purple. Relative luminance 0.308; OKLCH L 68.2% C 0.059 H 331.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AF8CAA
RGBrgb(175, 140, 170)
HSLhsl(309, 18%, 62%)
HSVhsv(309, 20%, 69%)
CMYKcmyk(0%, 20%, 2.9%, 31.4%)
CIE-LABlab(62.32, 18.45, -10.74)
CIE-LCHlch(62.32, 21.35, 329.80°)
OKLaboklab(68.23% 0.0518 -0.0287)
OKLCHoklch(68.23% 0.059 331.1)
XYZxyz(34.3123, 30.7733, 42.1548)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8CAA #8CAF91
analogous
#A38CAF #AF8CAA #AF8C99
triadic
#AF8CAA #AAAF8C #8CAAAF
tetradic
#AF8CAA #AFA38C #8CAF91 #8C99AF
square
#AF8CAA #AFA38C #8CAF91 #8C99AF
split-complementary
#AF8CAA #99AF8C #8CAFA3
monochromatic
#724F6D #96688F #AF8CAA #C8B0C5 #E1D4DF

Accessibility & contrast

On white

2.94
#AF8CAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AF8CAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8CAA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8CAA#FFFFFF#000000##000000
##AF8CAA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AB
Deuteranopia (green-blind)
#9398A9
Tritanopia (blue-blind)
#B28E96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8caa;
/* rgb */ color: rgb(175, 140, 170);
/* oklch */ color: oklch(68.2% 0.059 331.1);
Tailwind
colors: {
  custom: {
    50: '#c7adc3',
    500: '#af8caa',
    950: '#000000',
  },
}
SCSS
$custom: #af8caa;
$custom-light: #c7adc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af8caa",
  "rgb": {
    "r": 175,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 308.571,
    "s": 17.949,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.05922,
    "h": 331.1
  },
  "luminance": 0.30772
}

Semantic roles & 50–950 ramp

primary
#AF8CAA
secondary
#C5D2C7
accent
#9C5549
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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