#AFA1CF

Closest named color: Pale Purple (#B790D4). oklch(73.7% 0.067 298.7), rgb(175, 161, 207).

Aa

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

About this color

#AFA1CF is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.067 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.047 away. Black text reads best on it, at 8.82:1.

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

Values

HEX#AFA1CF
RGBrgb(175, 161, 207)
HSLhsl(258, 32%, 72%)
OKLCHoklch(73.7% 0.067 298.7)

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 #AFA1CF 2.38:1 Fails Lc -51.9 Large or bold text, headings
Black text on #AFA1CF 8.82:1 AAA Lc 57.1 Large or bold text, headings
#AFA1CF text on white 2.38:1 Fails Lc 46.9 Large or bold text, headings
#AFA1CF text on black 8.82:1 AAA Lc -55.1 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DBD6E7

    oklch(88.5% 0.024 299.3)

  4. Step 300

    300

    #C4BBD9

    oklch(80.9% 0.043 299.1)

  5. Step 400

    400 (this color)

    #AFA1CF

    oklch(73.7% 0.067 298.7)

  6. Step 500

    500

    #907EB7

    oklch(63.1% 0.086 298.4)

  7. Step 600

    600

    #7B67A3

    oklch(55.7% 0.093 298.7)

  8. Step 700

    700

    #67558B

    oklch(49% 0.087 298.5)

  9. Step 800

    800

    #544671

    oklch(42.7% 0.071 298.3)

  10. Step 900

    900

    #453B5B

    oklch(37.7% 0.055 298.1)

  11. Step 950

    950

    #292336

    oklch(27.2% 0.036 298.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1CF 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)#98A8D10.035
Deuteranopia (no green cones)#9AA8CE0.033
Tritanopia (no blue cones)#A9A8B10.054
Achromatopsia (no color)#A8A8A80.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1CF

    #AFA1CF

    oklch(73.7% 0.067 298.7)

  • #A5B080

    #A5B080

    oklch(73.6% 0.067 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1CF

    #AFA1CF

    oklch(73.7% 0.067 298.7)

  • #98A9D5

    #98A9D5

    oklch(73.7% 0.067 268.3)

  • #C29BBF

    #C29BBF

    oklch(73.7% 0.067 328.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1CF

    #AFA1CF

    oklch(73.7% 0.067 298.7)

  • #BBA879

    #BBA879

    oklch(73.7% 0.067 88.5)

  • #8DB693

    #8DB693

    oklch(73.7% 0.067 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1CF

    #AFA1CF

    oklch(73.7% 0.067 298.7)

  • #CAA080

    #CAA080

    oklch(73.6% 0.067 58.8)

  • #7AB8AA

    #7AB8AA

    oklch(73.6% 0.067 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1CF

    #AFA1CF

    oklch(73.7% 0.067 298.7)

  • #D19A92

    #D19A92

    oklch(73.6% 0.067 28.2)

  • #A5B080

    #A5B080

    oklch(73.6% 0.067 118.6)

  • #76B6C0

    #76B6C0

    oklch(73.7% 0.067 208.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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