#AF8DCE

Closest named color: Pale Purple (#B790D4). oklch(69.8% 0.1 307.9), rgb(175, 141, 206).

Aa

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

About this color

#AF8DCE is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.100 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.017 away. Black text reads best on it, at 7.52:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.52:1
White text2.79:1

Values

HEX#AF8DCE
RGBrgb(175, 141, 206)
HSLhsl(271, 40%, 68%)
OKLCHoklch(69.8% 0.1 307.9)

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 #AF8DCE 2.79:1 Fails Lc -59.0 Large or bold text, headings
Black text on #AF8DCE 7.52:1 AAA Lc 50.3 Large or bold text, headings
#AF8DCE text on white 2.79:1 Fails Lc 53.7 Large or bold text, headings
#AF8DCE text on black 7.52:1 AAA Lc -48.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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD3EB

    oklch(88.4% 0.035 308)

  4. Step 300

    300

    #CCB6E0

    oklch(80.8% 0.063 308.6)

  5. Step 400

    400 (this color)

    #AF8DCE

    oklch(69.8% 0.1 307.9)

  6. Step 500

    500

    #9F73C5

    oklch(63.2% 0.128 307.8)

  7. Step 600

    600

    #8A5AB1

    oklch(55.7% 0.138 308)

  8. Step 700

    700

    #754998

    oklch(49.1% 0.129 308.1)

  9. Step 800

    800

    #5F3C7B

    oklch(42.6% 0.107 308.1)

  10. Step 900

    900

    #4E3463

    oklch(37.7% 0.083 308.4)

  11. Step 950

    950

    #2E1F3A

    oklch(27.1% 0.052 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF8DCE 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)#8199D10.069
Deuteranopia (no green cones)#889BCC0.064
Tritanopia (no blue cones)#AB96A50.073
Achromatopsia (no color)#9B9B9B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8DCE

    #AF8DCE

    oklch(69.8% 0.1 307.9)

  • #8CAA65

    #8CAA65

    oklch(69.9% 0.1 127.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8DCE

    #AF8DCE

    oklch(69.8% 0.1 307.9)

  • #8F98DC

    #8F98DC

    oklch(69.9% 0.1 277.7)

  • #C685B4

    #C685B4

    oklch(69.7% 0.101 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF8DCE

    #AF8DCE

    oklch(69.8% 0.1 307.9)

  • #AE9E51

    #AE9E51

    oklch(69.7% 0.1 97.8)

  • #64B186

    #64B186

    oklch(69.9% 0.1 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8DCE

    #AF8DCE

    oklch(69.8% 0.1 307.9)

  • #C79257

    #C79257

    oklch(69.9% 0.099 67.9)

  • #44B2A9

    #44B2A9

    oklch(69.9% 0.1 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8DCE

    #AF8DCE

    oklch(69.8% 0.1 307.9)

  • #D48870

    #D48870

    oklch(69.9% 0.1 38.3)

  • #8CAA65

    #8CAA65

    oklch(69.9% 0.1 127.9)

  • #48ADC7

    #48ADC7

    oklch(69.9% 0.1 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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