#AF9DCC

Closest named color: Pale Purple (#B790D4). oklch(72.8% 0.07 302.2), rgb(175, 157, 204).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromamuted (0.070)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.51:1
White text2.46:1

Values

HEX#AF9DCC
RGBrgb(175, 157, 204)
HSLhsl(263, 32%, 71%)
OKLCHoklch(72.8% 0.07 302.2)

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 #AF9DCC 2.46:1 Fails Lc -53.5 Large or bold text, headings
Black text on #AF9DCC 8.51:1 AAA Lc 55.5 Large or bold text, headings
#AF9DCC text on white 2.46:1 Fails Lc 48.5 Large or bold text, headings
#AF9DCC text on black 8.51:1 AAA Lc -53.5 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

    #DCD6E7

    oklch(88.6% 0.024 301.9)

  4. Step 300

    300

    #C6BAD9

    oklch(80.9% 0.045 303)

  5. Step 400

    400 (this color)

    #AF9DCC

    oklch(72.8% 0.07 302.2)

  6. Step 500

    500

    #947CB7

    oklch(63.1% 0.091 302.6)

  7. Step 600

    600

    #7E65A2

    oklch(55.6% 0.096 302.2)

  8. Step 700

    700

    #6A548B

    oklch(49.1% 0.089 301.6)

  9. Step 800

    800

    #574571

    oklch(42.8% 0.074 302.2)

  10. Step 900

    900

    #473A5B

    oklch(37.7% 0.057 301.8)

  11. Step 950

    950

    #2A2235

    oklch(27% 0.036 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF9DCC 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)#94A5CE0.041
Deuteranopia (no green cones)#97A5CB0.038
Tritanopia (no blue cones)#AAA4AD0.056
Achromatopsia (no color)#A5A5A50.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9DCC

    #AF9DCC

    oklch(72.8% 0.07 302.2)

  • #9FAE7D

    #9FAE7D

    oklch(72.6% 0.07 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9DCC

    #AF9DCC

    oklch(72.8% 0.07 302.2)

  • #98A5D4

    #98A5D4

    oklch(72.9% 0.07 272.6)

  • #C297BB

    #C297BB

    oklch(72.8% 0.071 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF9DCC

    #AF9DCC

    oklch(72.8% 0.07 302.2)

  • #B6A674

    #B6A674

    oklch(72.7% 0.07 92.4)

  • #86B492

    #86B492

    oklch(72.7% 0.069 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9DCC

    #AF9DCC

    oklch(72.8% 0.07 302.2)

  • #C79E7A

    #C79E7A

    oklch(72.8% 0.069 62.7)

  • #74B6AA

    #74B6AA

    oklch(72.8% 0.07 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9DCC

    #AF9DCC

    oklch(72.8% 0.07 302.2)

  • #CF978C

    #CF978C

    oklch(72.7% 0.07 31.3)

  • #9FAE7D

    #9FAE7D

    oklch(72.6% 0.07 122)

  • #71B3C1

    #71B3C1

    oklch(72.8% 0.07 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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