#AF8FDB

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.113 303), rgb(175, 143, 219).

Aa

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

About this color

#AF8FDB is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.113 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.017 away. Black text reads best on it, at 7.77:1.

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

Values

HEX#AF8FDB
RGBrgb(175, 143, 219)
HSLhsl(265, 51%, 71%)
OKLCHoklch(70.8% 0.113 303)

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 #AF8FDB 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #AF8FDB 7.77:1 AAA Lc 51.7 Large or bold text, headings
#AF8FDB text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#AF8FDB text on black 7.77: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

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  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)

    #AF8FDB

    oklch(70.8% 0.113 303)

  6. Step 500

    500

    #9B71D1

    oklch(63.1% 0.145 302.6)

  7. Step 600

    600

    #8757BE

    oklch(55.6% 0.158 303.1)

  8. Step 700

    700

    #7247A4

    oklch(49.2% 0.146 302.7)

  9. Step 800

    800

    #5D3B85

    oklch(42.8% 0.121 302.8)

  10. Step 900

    900

    #4C336A

    oklch(37.7% 0.094 303.2)

  11. Step 950

    950

    #2C1E3E

    oklch(26.9% 0.06 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF8FDB 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)#7E9DDE0.073
Deuteranopia (no green cones)#849DD90.068
Tritanopia (no blue cones)#A89BAB0.088
Achromatopsia (no color)#9D9D9D0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8FDB

    #AF8FDB

    oklch(70.8% 0.113 303)

  • #94AC59

    #94AC59

    oklch(70.7% 0.113 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8FDB

    #AF8FDB

    oklch(70.8% 0.113 303)

  • #899CE8

    #899CE8

    oklch(70.9% 0.114 272.5)

  • #CB86BF

    #CB86BF

    oklch(70.9% 0.112 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF8FDB

    #AF8FDB

    oklch(70.8% 0.113 303)

  • #B99F45

    #B99F45

    oklch(70.8% 0.113 93.2)

  • #65B57F

    #65B57F

    oklch(70.7% 0.112 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8FDB

    #AF8FDB

    oklch(70.8% 0.113 303)

  • #D39051

    #D39051

    oklch(70.8% 0.114 62.5)

  • #34B8A7

    #34B8A7

    oklch(70.9% 0.114 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8FDB

    #AF8FDB

    oklch(70.8% 0.113 303)

  • #DE8572

    #DE8572

    oklch(70.7% 0.114 32.9)

  • #94AC59

    #94AC59

    oklch(70.7% 0.113 122.6)

  • #2FB3CB

    #2FB3CB

    oklch(70.8% 0.113 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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