#AFA2C6

Closest named color: Cool Steel (#97A7B3). oklch(73.5% 0.053 301.6), rgb(175, 162, 198).

Aa

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

About this color

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

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

Values

HEX#AFA2C6
RGBrgb(175, 162, 198)
HSLhsl(262, 24%, 71%)
OKLCHoklch(73.5% 0.053 301.6)

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 #AFA2C6 2.38:1 Fails Lc -52.0 Large or bold text, headings
Black text on #AFA2C6 8.80:1 AAA Lc 57.0 Large or bold text, headings
#AFA2C6 text on white 2.38:1 Fails Lc 47.0 Large or bold text, headings
#AFA2C6 text on black 8.80:1 AAA Lc -55.0 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

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DBD6E4

    oklch(88.4% 0.02 302.2)

  4. Step 300

    300

    #C4BCD3

    oklch(80.9% 0.033 301.5)

  5. Step 400

    400 (this color)

    #AFA2C6

    oklch(73.5% 0.053 301.6)

  6. Step 500

    500

    #9180AC

    oklch(63.1% 0.068 302.2)

  7. Step 600

    600

    #7B6998

    oklch(55.6% 0.074 301.6)

  8. Step 700

    700

    #685782

    oklch(49.1% 0.07 302)

  9. Step 800

    800

    #544869

    oklch(42.7% 0.056 300.8)

  10. Step 900

    900

    #463C55

    oklch(37.7% 0.044 302.7)

  11. Step 950

    950

    #292332

    oklch(27% 0.029 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2C6 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)#9BA8C80.030
Deuteranopia (no green cones)#9EA8C50.028
Tritanopia (no blue cones)#ABA7AE0.042
Achromatopsia (no color)#A8A8A80.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2C6

    #AFA2C6

    oklch(73.5% 0.053 301.6)

  • #A4AF8A

    #A4AF8A

    oklch(73.5% 0.053 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2C6

    #AFA2C6

    oklch(73.5% 0.053 301.6)

  • #9DA8CC

    #9DA8CC

    oklch(73.5% 0.054 271.7)

  • #BE9EB9

    #BE9EB9

    oklch(73.6% 0.053 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2C6

    #AFA2C6

    oklch(73.5% 0.053 301.6)

  • #B5A983

    #B5A983

    oklch(73.5% 0.054 92.6)

  • #91B399

    #91B399

    oklch(73.4% 0.053 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2C6

    #AFA2C6

    oklch(73.5% 0.053 301.6)

  • #C3A288

    #C3A288

    oklch(73.5% 0.053 60.1)

  • #84B5AB

    #84B5AB

    oklch(73.5% 0.054 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2C6

    #AFA2C6

    oklch(73.5% 0.053 301.6)

  • #C99E95

    #C99E95

    oklch(73.6% 0.053 31.9)

  • #A4AF8A

    #A4AF8A

    oklch(73.5% 0.053 121.2)

  • #82B3BD

    #82B3BD

    oklch(73.6% 0.054 211.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #AFA2C6 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.