#AFA2CC

Closest named color: Pale Purple (#B790D4). oklch(73.8% 0.061 299.1), rgb(175, 162, 204).

Aa

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

About this color

#AFA2CC is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.061 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.052 away. Black text reads best on it, at 8.86:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.061)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.86:1
White text2.36:1

Values

HEX#AFA2CC
RGBrgb(175, 162, 204)
HSLhsl(259, 29%, 72%)
OKLCHoklch(73.8% 0.061 299.1)

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 #AFA2CC 2.36:1 Fails Lc -51.7 Large or bold text, headings
Black text on #AFA2CC 8.86:1 AAA Lc 57.3 Large or bold text, headings
#AFA2CC text on white 2.36:1 Fails Lc 46.7 Large or bold text, headings
#AFA2CC text on black 8.86:1 AAA Lc -55.3 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

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E6

    oklch(88.5% 0.022 300.2)

  4. Step 300

    300

    #C4BCD7

    oklch(81% 0.038 299.1)

  5. Step 400

    400 (this color)

    #AFA2CC

    oklch(73.8% 0.061 299.1)

  6. Step 500

    500

    #907FB3

    oklch(63.1% 0.079 299.1)

  7. Step 600

    600

    #7A689E

    oklch(55.6% 0.084 299)

  8. Step 700

    700

    #675687

    oklch(49% 0.079 299.4)

  9. Step 800

    800

    #54476E

    oklch(42.8% 0.065 299)

  10. Step 900

    900

    #453B59

    oklch(37.6% 0.052 299.2)

  11. Step 950

    950

    #292334

    oklch(27.1% 0.032 300.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2CC 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)#9AA8CE0.031
Deuteranopia (no green cones)#9CA8CB0.030
Tritanopia (no blue cones)#AAA8B00.050
Achromatopsia (no color)#A8A8A80.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2CC

    #AFA2CC

    oklch(73.8% 0.061 299.1)

  • #A5B084

    #A5B084

    oklch(73.7% 0.062 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2CC

    #AFA2CC

    oklch(73.8% 0.061 299.1)

  • #9AA9D2

    #9AA9D2

    oklch(73.7% 0.062 269.2)

  • #C09DBD

    #C09DBD

    oklch(73.8% 0.06 329)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2CC

    #AFA2CC

    oklch(73.8% 0.061 299.1)

  • #BAA97E

    #BAA97E

    oklch(73.9% 0.061 89)

  • #90B595

    #90B595

    oklch(73.7% 0.061 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2CC

    #AFA2CC

    oklch(73.8% 0.061 299.1)

  • #C8A184

    #C8A184

    oklch(73.7% 0.061 58.3)

  • #7FB7AB

    #7FB7AB

    oklch(73.7% 0.061 179.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2CC

    #AFA2CC

    oklch(73.8% 0.061 299.1)

  • #CE9C94

    #CE9C94

    oklch(73.7% 0.061 29)

  • #A5B084

    #A5B084

    oklch(73.7% 0.062 119.3)

  • #7BB5BF

    #7BB5BF

    oklch(73.7% 0.062 209.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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