#AF7AC8

Closest named color: Wisteria (#A87DC2). oklch(66.2% 0.126 314.4), rgb(175, 122, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.44:1
White text3.26:1

Values

HEX#AF7AC8
RGBrgb(175, 122, 200)
HSLhsl(281, 41%, 63%)
OKLCHoklch(66.2% 0.126 314.4)

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 #AF7AC8 3.26:1 AA large text Lc -65.2 Content text, not long reading
Black text on #AF7AC8 6.44:1 AA Lc 44.3 Non-text elements, placeholder text
#AF7AC8 text on white 3.26:1 AA large text Lc 59.8 Large or bold text, headings
#AF7AC8 text on black 6.44:1 AA Lc -41.9 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 500.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E2D3E9

    oklch(88.6% 0.034 315.2)

  4. Step 300

    300

    #D0B5DD

    oklch(80.9% 0.063 314.8)

  5. Step 400

    400

    #B78ECB

    oklch(70.7% 0.098 314.4)

  6. Step 500

    500 (this color)

    #AF7AC8

    oklch(66.2% 0.126 314.4)

  7. Step 600

    600

    #9058AA

    oklch(55.6% 0.136 314.2)

  8. Step 700

    700

    #7B4792

    oklch(49.1% 0.128 314.6)

  9. Step 800

    800

    #643B76

    oklch(42.7% 0.105 314.8)

  10. Step 900

    900

    #513360

    oklch(37.7% 0.082 313.7)

  11. Step 950

    950

    #301E38

    oklch(27% 0.053 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF7AC8 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)#6D8BCB0.101
Deuteranopia (no green cones)#7A90C60.093
Tritanopia (no blue cones)#AD85980.086
Achromatopsia (no color)#8E8E8E0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7AC8

    #AF7AC8

    oklch(66.2% 0.126 314.4)

  • #71A351

    #71A351

    oklch(66.1% 0.125 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7AC8

    #AF7AC8

    oklch(66.2% 0.126 314.4)

  • #8B87DD

    #8B87DD

    oklch(66.3% 0.126 284.5)

  • #C871A5

    #C871A5

    oklch(66.1% 0.126 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF7AC8

    #AF7AC8

    oklch(66.2% 0.126 314.4)

  • #9F9629

    #9F9629

    oklch(66.1% 0.126 104.5)

  • #2FAB7E

    #2FAB7E

    oklch(66.3% 0.127 164)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7AC8

    #AF7AC8

    oklch(66.2% 0.126 314.4)

  • #C08628

    #C08628

    oklch(66.3% 0.126 74.5)

  • #00A8A7

    #00A8A7

    oklch(66.2% 0.113 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7AC8

    #AF7AC8

    oklch(66.2% 0.126 314.4)

  • #D1774F

    #D1774F

    oklch(66.1% 0.125 44)

  • #71A351

    #71A351

    oklch(66.1% 0.125 134.5)

  • #00A2CB

    #00A2CB

    oklch(66.2% 0.124 224.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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