#AF8BDF

Closest named color: Pale Purple (#B790D4). oklch(70.2% 0.125 303), rgb(175, 139, 223).

Aa

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

About this color

#AF8BDF is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.125 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.027 away. Black text reads best on it, at 7.58:1.

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

Values

HEX#AF8BDF
RGBrgb(175, 139, 223)
HSLhsl(266, 57%, 71%)
OKLCHoklch(70.2% 0.125 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 #AF8BDF 2.76:1 Fails Lc -58.6 Large or bold text, headings
Black text on #AF8BDF 7.58:1 AAA Lc 50.7 Large or bold text, headings
#AF8BDF text on white 2.76:1 Fails Lc 53.3 Large or bold text, headings
#AF8BDF text on black 7.58:1 AAA Lc -48.5 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

    #EDE7F7

    oklch(93.7% 0.022 302.9)

  3. Step 200

    200

    #DFD3F1

    oklch(88.6% 0.043 303.7)

  4. Step 300

    300

    #CBB5EB

    oklch(81% 0.078 303.3)

  5. Step 400

    400 (this color)

    #AF8BDF

    oklch(70.2% 0.125 303)

  6. Step 500

    500

    #9E6DD8

    oklch(63.1% 0.161 303.2)

  7. Step 600

    600

    #8953C5

    oklch(55.7% 0.173 303)

  8. Step 700

    700

    #7442AA

    oklch(49% 0.162 303)

  9. Step 800

    800

    #5F378A

    oklch(42.7% 0.135 303.4)

  10. Step 900

    900

    #4D316E

    oklch(37.7% 0.104 303)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF8BDF 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)#779AE20.082
Deuteranopia (no green cones)#7F9BDD0.076
Tritanopia (no blue cones)#A798AB0.095
Achromatopsia (no color)#9B9B9B0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8BDF

    #AF8BDF

    oklch(70.2% 0.125 303)

  • #91AC4E

    #91AC4E

    oklch(70.4% 0.125 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8BDF

    #AF8BDF

    oklch(70.2% 0.125 303)

  • #8699ED

    #8699ED

    oklch(70.3% 0.125 273.1)

  • #CD81C0

    #CD81C0

    oklch(70.3% 0.124 333.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF8BDF

    #AF8BDF

    oklch(70.2% 0.125 303)

  • #BA9D33

    #BA9D33

    oklch(70.3% 0.126 93.3)

  • #5AB679

    #5AB679

    oklch(70.4% 0.126 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8BDF

    #AF8BDF

    oklch(70.2% 0.125 303)

  • #D58C44

    #D58C44

    oklch(70.1% 0.125 62.8)

  • #00B8A6

    #00B8A6

    oklch(70.3% 0.125 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8BDF

    #AF8BDF

    oklch(70.2% 0.125 303)

  • #E2806B

    #E2806B

    oklch(70.2% 0.126 33.1)

  • #91AC4E

    #91AC4E

    oklch(70.4% 0.125 123)

  • #00B2CD

    #00B2CD

    oklch(70.2% 0.123 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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