#AF8ECD

Closest named color: Pale Purple (#B790D4). oklch(70% 0.097 308), rgb(175, 142, 205).

Aa

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

About this color

#AF8ECD is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.097 and its hue 308°. 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.57:1.

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

Values

HEX#AF8ECD
RGBrgb(175, 142, 205)
HSLhsl(271, 39%, 68%)
OKLCHoklch(70% 0.097 308)

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 #AF8ECD 2.77:1 Fails Lc -58.7 Large or bold text, headings
Black text on #AF8ECD 7.57:1 AAA Lc 50.6 Large or bold text, headings
#AF8ECD text on white 2.77:1 Fails Lc 53.4 Large or bold text, headings
#AF8ECD text on black 7.57:1 AAA Lc -48.4 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD4EB

    oklch(88.6% 0.033 307.1)

  4. Step 300

    300

    #CBB7DF

    oklch(80.9% 0.059 307.6)

  5. Step 400

    400 (this color)

    #AF8ECD

    oklch(70% 0.097 308)

  6. Step 500

    500

    #9E74C3

    oklch(63.2% 0.123 307.7)

  7. Step 600

    600

    #895BAF

    oklch(55.6% 0.134 307.9)

  8. Step 700

    700

    #744A97

    oklch(49.1% 0.126 307.6)

  9. Step 800

    800

    #5F3D7A

    oklch(42.7% 0.104 308.3)

  10. Step 900

    900

    #4D3562

    oklch(37.7% 0.079 307.6)

  11. Step 950

    950

    #2D1F3A

    oklch(27% 0.052 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF8ECD 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)#829AD00.067
Deuteranopia (no green cones)#899CCB0.063
Tritanopia (no blue cones)#AB97A50.071
Achromatopsia (no color)#9B9B9B0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8ECD

    #AF8ECD

    oklch(70% 0.097 308)

  • #8DAA68

    #8DAA68

    oklch(70% 0.096 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8ECD

    #AF8ECD

    oklch(70% 0.097 308)

  • #9098DA

    #9098DA

    oklch(69.9% 0.097 278.3)

  • #C687B3

    #C687B3

    oklch(70% 0.096 338.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF8ECD

    #AF8ECD

    oklch(70% 0.097 308)

  • #AE9F55

    #AE9F55

    oklch(69.9% 0.097 98.1)

  • #67B187

    #67B187

    oklch(70% 0.097 157.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8ECD

    #AF8ECD

    oklch(70% 0.097 308)

  • #C6935A

    #C6935A

    oklch(70% 0.096 68.2)

  • #49B2A9

    #49B2A9

    oklch(70% 0.097 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8ECD

    #AF8ECD

    oklch(70% 0.097 308)

  • #D38972

    #D38972

    oklch(70% 0.097 38)

  • #8DAA68

    #8DAA68

    oklch(70% 0.096 128)

  • #4DADC6

    #4DADC6

    oklch(70% 0.096 217.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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