#AF77D4

Closest named color: Wisteria (#A87DC2). oklch(66.3% 0.145 310.7), rgb(175, 119, 212).

Aa

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

About this color

#AF77D4 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.145 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.035 away. Black text reads best on it, at 6.41:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.145)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.41:1
White text3.27:1

Values

HEX#AF77D4
RGBrgb(175, 119, 212)
HSLhsl(276, 52%, 65%)
OKLCHoklch(66.3% 0.145 310.7)

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 #AF77D4 3.27:1 AA large text Lc -65.3 Content text, not long reading
Black text on #AF77D4 6.41:1 AA Lc 44.2 Non-text elements, placeholder text
#AF77D4 text on white 3.27:1 AA large text Lc 59.9 Large or bold text, headings
#AF77D4 text on black 6.41:1 AA Lc -41.8 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E1D2ED

    oklch(88.4% 0.04 310.2)

  4. Step 300

    300

    #CFB4E3

    oklch(80.8% 0.071 310.6)

  5. Step 400

    400

    #B78CD5

    oklch(70.7% 0.113 310.7)

  6. Step 500

    500 (this color)

    #AF77D4

    oklch(66.3% 0.145 310.7)

  7. Step 600

    600

    #9053B6

    oklch(55.5% 0.158 310.7)

  8. Step 700

    700

    #7B439D

    oklch(49.1% 0.147 310.8)

  9. Step 800

    800

    #64387F

    oklch(42.7% 0.121 310.9)

  10. Step 900

    900

    #513166

    oklch(37.7% 0.094 310.5)

  11. Step 950

    950

    #301D3C

    oklch(27% 0.061 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF77D4 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)#638BD70.114
Deuteranopia (no green cones)#718FD10.104
Tritanopia (no blue cones)#AB859B0.103
Achromatopsia (no color)#8E8E8E0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF77D4

    #AF77D4

    oklch(66.3% 0.145 310.7)

  • #73A43C

    #73A43C

    oklch(66.2% 0.144 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF77D4

    #AF77D4

    oklch(66.3% 0.145 310.7)

  • #8486E9

    #8486E9

    oklch(66.2% 0.145 280.8)

  • #CD6CAE

    #CD6CAE

    oklch(66.3% 0.146 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF77D4

    #AF77D4

    oklch(66.3% 0.145 310.7)

  • #A69400

    #A69400

    oklch(66.2% 0.138 100.7)

  • #12AD75

    #12AD75

    oklch(66.2% 0.144 160.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF77D4

    #AF77D4

    oklch(66.3% 0.145 310.7)

  • #C98100

    #C98100

    oklch(66.2% 0.143 70.6)

  • #00A9A3

    #00A9A3

    oklch(66.3% 0.114 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF77D4

    #AF77D4

    oklch(66.3% 0.145 310.7)

  • #DB7048

    #DB7048

    oklch(66.2% 0.145 40.7)

  • #73A43C

    #73A43C

    oklch(66.2% 0.144 130.8)

  • #00A3C7

    #00A3C7

    oklch(66.2% 0.121 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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