#AF77B2

Closest named color: Wisteria (#A87DC2). oklch(64.7% 0.106 325), rgb(175, 119, 178).

Aa

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

About this color

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

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

Values

HEX#AF77B2
RGBrgb(175, 119, 178)
HSLhsl(297, 28%, 58%)
OKLCHoklch(64.7% 0.106 325)

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 #AF77B2 3.44:1 AA large text Lc -67.3 Content text, not long reading
Black text on #AF77B2 6.10:1 AA Lc 42.3 Non-text elements, placeholder text
#AF77B2 text on white 3.44:1 AA large text Lc 61.8 Content text, not long reading
#AF77B2 text on black 6.10:1 AA Lc -39.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E3D3E4

    oklch(88.5% 0.029 324)

  4. Step 300

    300

    #D2B6D3

    oklch(80.9% 0.051 325)

  5. Step 400

    400

    #BB8FBD

    oklch(70.7% 0.082 325)

  6. Step 500

    500 (this color)

    #AF77B2

    oklch(64.7% 0.106 325)

  7. Step 600

    600

    #955A98

    oklch(55.6% 0.115 325.3)

  8. Step 700

    700

    #7F4982

    oklch(49.1% 0.108 325.2)

  9. Step 800

    800

    #673C6A

    oklch(42.6% 0.09 324.7)

  10. Step 900

    900

    #543456

    oklch(37.7% 0.07 324.8)

  11. Step 950

    950

    #311F32

    oklch(27% 0.043 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF77B2 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)#7286B40.096
Deuteranopia (no green cones)#808DB00.088
Tritanopia (no blue cones)#B27D8D0.063
Achromatopsia (no color)#8A8A8A0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF77B2

    #AF77B2

    oklch(64.7% 0.106 325)

  • #639F65

    #639F65

    oklch(64.6% 0.106 145)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF77B2

    #AF77B2

    oklch(64.7% 0.106 325)

  • #9381C8

    #9381C8

    oklch(64.8% 0.106 294.9)

  • #C17292

    #C17292

    oklch(64.8% 0.107 354.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF77B2

    #AF77B2

    oklch(64.7% 0.106 325)

  • #8C9644

    #8C9644

    oklch(64.7% 0.107 115.2)

  • #33A38A

    #33A38A

    oklch(64.6% 0.106 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF77B2

    #AF77B2

    oklch(64.7% 0.106 325)

  • #AC8939

    #AC8939

    oklch(64.8% 0.106 85.1)

  • #18A0AD

    #18A0AD

    oklch(64.6% 0.106 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF77B2

    #AF77B2

    oklch(64.7% 0.106 325)

  • #C07C4B

    #C07C4B

    oklch(64.7% 0.107 55.3)

  • #639F65

    #639F65

    oklch(64.6% 0.106 145)

  • #4298C6

    #4298C6

    oklch(64.7% 0.107 235.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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