#AFA4C7

Closest named color: Cool Steel (#97A7B3). oklch(74% 0.051 299.5), rgb(175, 164, 199).

Aa

Black text reads best on this color (8.95:1).

About this color

#AFA4C7 is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.051 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Steel (#97A7B3), ΔE 0.048 away. Black text reads best on it, at 8.95:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.051)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text8.95:1
White text2.34:1

Values

HEX#AFA4C7
RGBrgb(175, 164, 199)
HSLhsl(259, 24%, 71%)
OKLCHoklch(74% 0.051 299.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #AFA4C7 2.34:1 Fails Lc -51.2 Large or bold text, headings
Black text on #AFA4C7 8.95:1 AAA Lc 57.8 Large or bold text, headings
#AFA4C7 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#AFA4C7 text on black 8.95:1 AAA Lc -55.8 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E3

    oklch(88.5% 0.017 297.5)

  4. Step 300

    300

    #C3BCD3

    oklch(80.8% 0.033 299.5)

  5. Step 400

    400 (this color)

    #AFA4C7

    oklch(74% 0.051 299.5)

  6. Step 500

    500

    #8F81AC

    oklch(63.1% 0.065 299.4)

  7. Step 600

    600

    #796A97

    oklch(55.6% 0.071 299.4)

  8. Step 700

    700

    #665881

    oklch(49% 0.066 299.6)

  9. Step 800

    800

    #534869

    oklch(42.6% 0.055 299.4)

  10. Step 900

    900

    #453D55

    oklch(37.8% 0.042 299.7)

  11. Step 950

    950

    #282432

    oklch(27.1% 0.026 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA4C7 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9DA9C90.027
Deuteranopia (no green cones)#9FA9C60.025
Tritanopia (no blue cones)#ABA9B00.041
Achromatopsia (no color)#A9A9A90.051

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #AFA4C7

    #AFA4C7

    oklch(74% 0.051 299.5)

  • #A6B08C

    #A6B08C

    oklch(74% 0.051 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA4C7

    #AFA4C7

    oklch(74% 0.051 299.5)

  • #9EAACC

    #9EAACC

    oklch(74% 0.051 269.9)

  • #BEA0BB

    #BEA0BB

    oklch(74.1% 0.051 329.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AFA4C7

    #AFA4C7

    oklch(74% 0.051 299.5)

  • #B7AA86

    #B7AA86

    oklch(74% 0.052 90.5)

  • #95B49A

    #95B49A

    oklch(73.9% 0.05 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA4C7

    #AFA4C7

    oklch(74% 0.051 299.5)

  • #C4A48B

    #C4A48B

    oklch(74.1% 0.051 59.9)

  • #88B6AB

    #88B6AB

    oklch(74% 0.052 178.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA4C7

    #AFA4C7

    oklch(74% 0.051 299.5)

  • #C99F98

    #C99F98

    oklch(73.9% 0.051 29.3)

  • #A6B08C

    #A6B08C

    oklch(74% 0.051 120.3)

  • #85B4BC

    #85B4BC

    oklch(73.9% 0.051 209.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFA4C7, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #AFA4C7 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.