#AF8FDC

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.115 302.7), rgb(175, 143, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.78:1
White text2.69:1

Values

HEX#AF8FDC
RGBrgb(175, 143, 220)
HSLhsl(265, 52%, 71%)
OKLCHoklch(70.8% 0.115 302.7)

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 #AF8FDC 2.69:1 Fails Lc -57.5 Large or bold text, headings
Black text on #AF8FDC 7.78:1 AAA Lc 51.8 Large or bold text, headings
#AF8FDC text on white 2.69:1 Fails Lc 52.3 Large or bold text, headings
#AF8FDC text on black 7.78:1 AAA Lc -49.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #C9B6E7

    oklch(80.8% 0.071 302.5)

  5. Step 400

    400 (this color)

    #AF8FDC

    oklch(70.8% 0.115 302.7)

  6. Step 500

    500

    #9B71D2

    oklch(63.1% 0.146 302.4)

  7. Step 600

    600

    #8657BF

    oklch(55.6% 0.159 302.4)

  8. Step 700

    700

    #7246A5

    oklch(49.1% 0.149 302.6)

  9. Step 800

    800

    #5D3A85

    oklch(42.6% 0.123 303.1)

  10. Step 900

    900

    #4C336B

    oklch(37.7% 0.096 302.7)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FDC 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)#7E9DDF0.073
Deuteranopia (no green cones)#849DDA0.068
Tritanopia (no blue cones)#A89BAB0.089
Achromatopsia (no color)#9D9D9D0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FDC

    #AF8FDC

    oklch(70.8% 0.115 302.7)

  • #94AC58

    #94AC58

    oklch(70.7% 0.114 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FDC

    #AF8FDC

    oklch(70.8% 0.115 302.7)

  • #899CE9

    #899CE9

    oklch(70.9% 0.115 272.6)

  • #CB85C0

    #CB85C0

    oklch(70.7% 0.115 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FDC

    #AF8FDC

    oklch(70.8% 0.115 302.7)

  • #BA9F43

    #BA9F43

    oklch(70.9% 0.115 92.8)

  • #64B67E

    #64B67E

    oklch(70.9% 0.115 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FDC

    #AF8FDC

    oklch(70.8% 0.115 302.7)

  • #D39050

    #D39050

    oklch(70.8% 0.114 62.8)

  • #32B8A7

    #32B8A7

    oklch(70.8% 0.115 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FDC

    #AF8FDC

    oklch(70.8% 0.115 302.7)

  • #DF8572

    #DF8572

    oklch(70.8% 0.115 32.8)

  • #94AC58

    #94AC58

    oklch(70.7% 0.114 122.5)

  • #2BB3CB

    #2BB3CB

    oklch(70.8% 0.115 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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