#AF8EC7

Closest named color: Pale Purple (#B790D4). oklch(69.7% 0.089 310.5), rgb(175, 142, 199).

Aa

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

About this color

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

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

Values

HEX#AF8EC7
RGBrgb(175, 142, 199)
HSLhsl(275, 34%, 67%)
OKLCHoklch(69.7% 0.089 310.5)

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 #AF8EC7 2.79:1 Fails Lc -59.0 Large or bold text, headings
Black text on #AF8EC7 7.51:1 AAA Lc 50.3 Large or bold text, headings
#AF8EC7 text on white 2.79:1 Fails Lc 53.8 Large or bold text, headings
#AF8EC7 text on black 7.51:1 AAA Lc -48.1 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #E0D4E9

    oklch(88.6% 0.031 311)

  4. Step 300

    300

    #CCB7DC

    oklch(80.9% 0.056 310.5)

  5. Step 400

    400 (this color)

    #AF8EC7

    oklch(69.7% 0.089 310.5)

  6. Step 500

    500

    #9F75BC

    oklch(63.1% 0.113 310.6)

  7. Step 600

    600

    #8A5CA9

    oklch(55.6% 0.125 310.4)

  8. Step 700

    700

    #754C91

    oklch(49.2% 0.115 310.2)

  9. Step 800

    800

    #5F3E75

    oklch(42.6% 0.096 310.6)

  10. Step 900

    900

    #4E355F

    oklch(37.6% 0.076 310.6)

  11. Step 950

    950

    #2E2037

    oklch(27.1% 0.046 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF8EC7 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)#8599C90.063
Deuteranopia (no green cones)#8B9BC50.060
Tritanopia (no blue cones)#AD95A20.064
Achromatopsia (no color)#9B9B9B0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8EC7

    #AF8EC7

    oklch(69.7% 0.089 310.5)

  • #8BA96E

    #8BA96E

    oklch(69.7% 0.089 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8EC7

    #AF8EC7

    oklch(69.7% 0.089 310.5)

  • #9397D4

    #9397D4

    oklch(69.6% 0.089 280.9)

  • #C488AF

    #C488AF

    oklch(69.8% 0.089 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF8EC7

    #AF8EC7

    oklch(69.7% 0.089 310.5)

  • #AA9F5C

    #AA9F5C

    oklch(69.7% 0.089 100.1)

  • #69AF8B

    #69AF8B

    oklch(69.7% 0.089 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8EC7

    #AF8EC7

    oklch(69.7% 0.089 310.5)

  • #C1945E

    #C1945E

    oklch(69.7% 0.089 70.6)

  • #52AFAA

    #52AFAA

    oklch(69.6% 0.089 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8EC7

    #AF8EC7

    oklch(69.7% 0.089 310.5)

  • #CE8B73

    #CE8B73

    oklch(69.8% 0.089 40.5)

  • #8BA96E

    #8BA96E

    oklch(69.7% 0.089 130.3)

  • #57AAC4

    #57AAC4

    oklch(69.6% 0.089 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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