#AF8FAC#AF8FAC

#AF8FAC is a light, muted purple. Relative luminance 0.317; OKLCH L 68.9% C 0.056 H 329.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AF8FAC
RGBrgb(175, 143, 172)
HSLhsl(306, 17%, 62%)
HSVhsv(306, 18%, 69%)
CMYKcmyk(0%, 18.3%, 1.7%, 31.4%)
CIE-LABlab(63.13, 17.14, -10.66)
CIE-LCHlch(63.13, 20.19, 328.13°)
OKLaboklab(68.87% 0.0478 -0.0285)
OKLCHoklch(68.87% 0.056 329.2)
XYZxyz(34.9472, 31.7382, 43.3069)
Luminance0.3174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FAC #8FAF92
analogous
#A28FAF #AF8FAC #AF8F9C
triadic
#AF8FAC #ACAF8F #8FACAF
tetradic
#AF8FAC #AFA28F #8FAF92 #8F9CAF
square
#AF8FAC #AFA28F #8FAF92 #8F9CAF
split-complementary
#AF8FAC #9CAF8F #8FAFA2
monochromatic
#72516F #966B92 #AF8FAC #C9B3C6 #E2D6E1

Accessibility & contrast

On white

2.86
#AF8FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AF8FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FAC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FAC#FFFFFF#000000##000000
##AF8FAC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E96AD
Deuteranopia (green-blind)
#959AAB
Tritanopia (blue-blind)
#B29199
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af8fac;
/* rgb */ color: rgb(175, 143, 172);
/* oklch */ color: oklch(68.9% 0.056 329.2);
Tailwind
colors: {
  custom: {
    50: '#c7b0c4',
    500: '#af8fac',
    950: '#000000',
  },
}
SCSS
$custom: #af8fac;
$custom-light: #c7b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af8fac",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 305.625,
    "s": 16.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68873,
    "c": 0.05564,
    "h": 329.2
  },
  "luminance": 0.31737
}

Semantic roles & 50–950 ramp

primary
#AF8FAC
secondary
#C7D3C8
accent
#9B524B
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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