#AF9DCD

Closest named color: Pale Purple (#B790D4). oklch(72.8% 0.071 301.8), rgb(175, 157, 205).

Aa

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

About this color

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

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

Values

HEX#AF9DCD
RGBrgb(175, 157, 205)
HSLhsl(263, 32%, 71%)
OKLCHoklch(72.8% 0.071 301.8)

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 #AF9DCD 2.46:1 Fails Lc -53.4 Large or bold text, headings
Black text on #AF9DCD 8.52:1 AAA Lc 55.6 Large or bold text, headings
#AF9DCD text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#AF9DCD text on black 8.52:1 AAA Lc -53.6 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  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

    #C5BAD9

    oklch(80.8% 0.045 301.6)

  5. Step 400

    400 (this color)

    #AF9DCD

    oklch(72.8% 0.071 301.8)

  6. Step 500

    500

    #937CB8

    oklch(63% 0.092 301.4)

  7. Step 600

    600

    #7E65A4

    oklch(55.7% 0.099 301.5)

  8. Step 700

    700

    #6A538C

    oklch(49% 0.092 301.7)

  9. Step 800

    800

    #574472

    oklch(42.7% 0.077 302.3)

  10. Step 900

    900

    #473A5C

    oklch(37.7% 0.059 301.2)

  11. Step 950

    950

    #2A2236

    oklch(27% 0.038 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF9DCD 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)#94A5CF0.041
Deuteranopia (no green cones)#97A5CC0.038
Tritanopia (no blue cones)#AAA4AE0.056
Achromatopsia (no color)#A5A5A50.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9DCD

    #AF9DCD

    oklch(72.8% 0.071 301.8)

  • #A0AF7C

    #A0AF7C

    oklch(72.9% 0.072 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9DCD

    #AF9DCD

    oklch(72.8% 0.071 301.8)

  • #97A5D5

    #97A5D5

    oklch(72.8% 0.072 271.9)

  • #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°).

  • #AF9DCD

    #AF9DCD

    oklch(72.8% 0.071 301.8)

  • #B7A673

    #B7A673

    oklch(72.8% 0.071 91.8)

  • #86B491

    #86B491

    oklch(72.7% 0.07 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9DCD

    #AF9DCD

    oklch(72.8% 0.071 301.8)

  • #C89D79

    #C89D79

    oklch(72.7% 0.071 61.3)

  • #73B6AA

    #73B6AA

    oklch(72.8% 0.071 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9DCD

    #AF9DCD

    oklch(72.8% 0.071 301.8)

  • #D0978B

    #D0978B

    oklch(72.8% 0.071 32.2)

  • #A0AF7C

    #A0AF7C

    oklch(72.9% 0.072 121.5)

  • #70B3C1

    #70B3C1

    oklch(72.7% 0.071 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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