#AF7ECC

Closest named color: Wisteria (#A87DC2). oklch(67.1% 0.123 312.2), rgb(175, 126, 204).

Aa

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

About this color

#AF7ECC is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.123 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.019 away. Black text reads best on it, at 6.67:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.67:1
White text3.14:1

Values

HEX#AF7ECC
RGBrgb(175, 126, 204)
HSLhsl(278, 43%, 65%)
OKLCHoklch(67.1% 0.123 312.2)

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 #AF7ECC 3.14:1 AA large text Lc -63.8 Content text, not long reading
Black text on #AF7ECC 6.67:1 AA Lc 45.7 Large or bold text, headings
#AF7ECC text on white 3.14:1 AA large text Lc 58.4 Large or bold text, headings
#AF7ECC text on black 6.67:1 AA Lc -43.4 Non-text elements, placeholder text

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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D2EE

    oklch(88.6% 0.042 312.3)

  4. Step 300

    300

    #D2B3E5

    oklch(81% 0.077 312.5)

  5. Step 400

    400 (this color)

    #AF7ECC

    oklch(67.1% 0.123 312.2)

  6. Step 500

    500

    #A969CD

    oklch(63% 0.158 312.2)

  7. Step 600

    600

    #944EBA

    oklch(55.5% 0.172 312)

  8. Step 700

    700

    #7F3EA0

    oklch(49.1% 0.16 312.6)

  9. Step 800

    800

    #673482

    oklch(42.7% 0.132 312.3)

  10. Step 900

    900

    #542E68

    oklch(37.6% 0.103 312.7)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7ECC 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)#708FCF0.096
Deuteranopia (no green cones)#7B92CA0.088
Tritanopia (no blue cones)#AC899B0.087
Achromatopsia (no color)#9191910.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7ECC

    #AF7ECC

    oklch(67.1% 0.123 312.2)

  • #78A552

    #78A552

    oklch(67% 0.123 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7ECC

    #AF7ECC

    oklch(67.1% 0.123 312.2)

  • #8A8BDF

    #8A8BDF

    oklch(67.1% 0.123 282)

  • #C975AA

    #C975AA

    oklch(67.1% 0.124 342.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF7ECC

    #AF7ECC

    oklch(67.1% 0.123 312.2)

  • #A5982E

    #A5982E

    oklch(67.2% 0.124 102.2)

  • #3CAD7E

    #3CAD7E

    oklch(67.1% 0.124 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7ECC

    #AF7ECC

    oklch(67.1% 0.123 312.2)

  • #C48831

    #C48831

    oklch(67.2% 0.124 72.3)

  • #00ABA8

    #00ABA8

    oklch(67% 0.115 192.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7ECC

    #AF7ECC

    oklch(67.1% 0.123 312.2)

  • #D47A56

    #D47A56

    oklch(67.1% 0.123 42.2)

  • #78A552

    #78A552

    oklch(67% 0.123 132.3)

  • #05A5CC

    #05A5CC

    oklch(67% 0.124 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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