#AF8AAD#AF8AAD

#AF8AAD is a light, moderate purple. Relative luminance 0.303; OKLCH L 68.0% C 0.066 H 328.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AF8AAD
RGBrgb(175, 138, 173)
HSLhsl(303, 19%, 61%)
HSVhsv(303, 21%, 69%)
CMYKcmyk(0%, 21.1%, 1.1%, 31.4%)
CIE-LABlab(61.92, 20.15, -13.04)
CIE-LCHlch(61.92, 24.00, 327.10°)
OKLaboklab(67.95% 0.056 -0.0349)
OKLCHoklch(67.95% 0.066 328)
XYZxyz(34.3097, 30.3089, 43.5699)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8AAD #8AAF8C
analogous
#9F8AAF #AF8AAD #AF8A9B
triadic
#AF8AAD #ADAF8A #8AADAF
tetradic
#AF8AAD #AF9F8A #8AAF8C #8A9BAF
square
#AF8AAD #AF9F8A #8AAF8C #8A9BAF
split-complementary
#AF8AAD #9BAF8A #8AAF9F
monochromatic
#714D6F #966693 #AF8AAD #C8AEC6 #E1D3E0

Accessibility & contrast

On white

2.97
#AF8AAD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AF8AAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8AAD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8AAD#FFFFFF#000000##000000
##AF8AAD1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8893AE
Deuteranopia (green-blind)
#9097AC
Tritanopia (blue-blind)
#B28D96
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af8aad;
/* rgb */ color: rgb(175, 138, 173);
/* oklch */ color: oklch(68.0% 0.066 328.0);
Tailwind
colors: {
  custom: {
    50: '#c7acc5',
    500: '#af8aad',
    950: '#000000',
  },
}
SCSS
$custom: #af8aad;
$custom-light: #c7acc5;
$custom-dark: #000000;
JSON
{
  "hex": "#af8aad",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 173
  },
  "hsl": {
    "h": 303.243,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67954,
    "c": 0.066,
    "h": 328
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#AF8AAD
secondary
#C3D1C4
accent
#9D4D48
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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