#AF9CD7

Closest named color: Pale Purple (#B790D4). oklch(73% 0.086 299), rgb(175, 156, 215).

Aa

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

About this color

#AF9CD7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.086 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.031 away. Black text reads best on it, at 8.55:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.55:1
White text2.45:1

Values

HEX#AF9CD7
RGBrgb(175, 156, 215)
HSLhsl(259, 42%, 73%)
OKLCHoklch(73% 0.086 299)

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 #AF9CD7 2.45:1 Fails Lc -53.3 Large or bold text, headings
Black text on #AF9CD7 8.55:1 AAA Lc 55.8 Large or bold text, headings
#AF9CD7 text on white 2.45:1 Fails Lc 48.2 Large or bold text, headings
#AF9CD7 text on black 8.55:1 AAA Lc -53.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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DBD5EB

    oklch(88.4% 0.031 298.2)

  4. Step 300

    300

    #C5B9DF

    oklch(80.8% 0.054 299.6)

  5. Step 400

    400 (this color)

    #AF9CD7

    oklch(73% 0.086 299)

  6. Step 500

    500

    #937AC3

    oklch(63.2% 0.11 299)

  7. Step 600

    600

    #7D62AF

    oklch(55.6% 0.119 298.6)

  8. Step 700

    700

    #6A5097

    oklch(49.1% 0.113 299.1)

  9. Step 800

    800

    #56427A

    oklch(42.6% 0.092 298.9)

  10. Step 900

    900

    #473862

    oklch(37.6% 0.072 299.4)

  11. Step 950

    950

    #2A213A

    oklch(27% 0.047 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF9CD7 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)#8FA5D90.047
Deuteranopia (no green cones)#92A5D50.045
Tritanopia (no blue cones)#A8A5B10.069
Achromatopsia (no color)#A5A5A50.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9CD7

    #AF9CD7

    oklch(73% 0.086 299)

  • #A2B071

    #A2B071

    oklch(73.1% 0.086 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9CD7

    #AF9CD7

    oklch(73% 0.086 299)

  • #91A6DF

    #91A6DF

    oklch(73% 0.086 268.6)

  • #C794C3

    #C794C3

    oklch(73% 0.088 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF9CD7

    #AF9CD7

    oklch(73% 0.086 299)

  • #BEA567

    #BEA567

    oklch(73% 0.086 88.3)

  • #81B78A

    #81B78A

    oklch(72.9% 0.086 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9CD7

    #AF9CD7

    oklch(73% 0.086 299)

  • #D19B70

    #D19B70

    oklch(73.1% 0.087 59.4)

  • #66BAA9

    #66BAA9

    oklch(73.1% 0.086 179.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9CD7

    #AF9CD7

    oklch(73% 0.086 299)

  • #D99389

    #D99389

    oklch(73% 0.087 28.3)

  • #A2B071

    #A2B071

    oklch(73.1% 0.086 118.8)

  • #60B7C5

    #60B7C5

    oklch(73.1% 0.086 209.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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