#AF8DC8

Closest named color: Pale Purple (#B790D4). oklch(69.6% 0.092 310.3), rgb(175, 141, 200).

Aa

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

About this color

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

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

Values

HEX#AF8DC8
RGBrgb(175, 141, 200)
HSLhsl(275, 35%, 67%)
OKLCHoklch(69.6% 0.092 310.3)

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 #AF8DC8 2.81:1 Fails Lc -59.3 Large or bold text, headings
Black text on #AF8DC8 7.46:1 AAA Lc 50.0 Large or bold text, headings
#AF8DC8 text on white 2.81:1 Fails Lc 54.0 Large or bold text, headings
#AF8DC8 text on black 7.46:1 AAA Lc -47.8 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #E0D4E9

    oklch(88.6% 0.031 311)

  4. Step 300

    300

    #CCB7DD

    oklch(80.9% 0.057 309.9)

  5. Step 400

    400 (this color)

    #AF8DC8

    oklch(69.6% 0.092 310.3)

  6. Step 500

    500

    #A074BE

    oklch(63.1% 0.118 310.7)

  7. Step 600

    600

    #8B5BAA

    oklch(55.6% 0.128 310.9)

  8. Step 700

    700

    #764B92

    oklch(49.2% 0.118 310.7)

  9. Step 800

    800

    #603E77

    oklch(42.8% 0.099 310.3)

  10. Step 900

    900

    #4E3560

    oklch(37.7% 0.077 309.9)

  11. Step 950

    950

    #2E1F38

    oklch(27% 0.049 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF8DC8 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)#8398CA0.066
Deuteranopia (no green cones)#8A9BC60.062
Tritanopia (no blue cones)#AC95A20.067
Achromatopsia (no color)#9A9A9A0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8DC8

    #AF8DC8

    oklch(69.6% 0.092 310.3)

  • #8AA96B

    #8AA96B

    oklch(69.6% 0.093 130.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8DC8

    #AF8DC8

    oklch(69.6% 0.092 310.3)

  • #9297D6

    #9297D6

    oklch(69.6% 0.092 280.2)

  • #C486AF

    #C486AF

    oklch(69.5% 0.093 340)

Open the analogous palette in the generator

Split complementary

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

  • #AF8DC8

    #AF8DC8

    oklch(69.6% 0.092 310.3)

  • #AA9F59

    #AA9F59

    oklch(69.6% 0.092 100.5)

  • #66AF8A

    #66AF8A

    oklch(69.6% 0.092 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8DC8

    #AF8DC8

    oklch(69.6% 0.092 310.3)

  • #C2935B

    #C2935B

    oklch(69.6% 0.092 70.2)

  • #4DAFAA

    #4DAFAA

    oklch(69.5% 0.092 190.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8DC8

    #AF8DC8

    oklch(69.6% 0.092 310.3)

  • #CF8971

    #CF8971

    oklch(69.6% 0.093 39.7)

  • #8AA96B

    #8AA96B

    oklch(69.6% 0.093 130.1)

  • #53AAC5

    #53AAC5

    oklch(69.5% 0.092 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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