#AF77AF

Closest named color: Soft Purple (#A66FB5). oklch(64.6% 0.103 326.7), rgb(175, 119, 175).

Aa

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

About this color

#AF77AF is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.103 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.030 away. Black text reads best on it, at 6.08:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text6.08:1
White text3.45:1

Values

HEX#AF77AF
RGBrgb(175, 119, 175)
HSLhsl(300, 26%, 58%)
OKLCHoklch(64.6% 0.103 326.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 #AF77AF 3.45:1 AA large text Lc -67.4 Content text, not long reading
Black text on #AF77AF 6.08:1 AA Lc 42.1 Non-text elements, placeholder text
#AF77AF text on white 3.45:1 AA large text Lc 61.9 Content text, not long reading
#AF77AF text on black 6.08:1 AA Lc -39.7 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

    #E4D3E3

    oklch(88.5% 0.028 327.6)

  4. Step 300

    300

    #D3B6D2

    oklch(81% 0.05 327.1)

  5. Step 400

    400

    #BC8FBB

    oklch(70.7% 0.081 327.1)

  6. Step 500

    500 (this color)

    #AF77AF

    oklch(64.6% 0.103 326.7)

  7. Step 600

    600

    #955A96

    oklch(55.6% 0.113 326.4)

  8. Step 700

    700

    #7F4A80

    oklch(49.1% 0.104 326.4)

  9. Step 800

    800

    #673D68

    oklch(42.7% 0.086 326.1)

  10. Step 900

    900

    #543454

    oklch(37.6% 0.067 326.8)

  11. Step 950

    950

    #311F31

    oklch(27% 0.041 326.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF77AF 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)#7386B10.095
Deuteranopia (no green cones)#818DAD0.088
Tritanopia (no blue cones)#B27C8B0.060
Achromatopsia (no color)#8A8A8A0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF77AF

    #AF77AF

    oklch(64.6% 0.103 326.7)

  • #629F68

    #629F68

    oklch(64.6% 0.103 146.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF77AF

    #AF77AF

    oklch(64.6% 0.103 326.7)

  • #9480C5

    #9480C5

    oklch(64.5% 0.103 296.7)

  • #C0728F

    #C0728F

    oklch(64.5% 0.104 356.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF77AF

    #AF77AF

    oklch(64.6% 0.103 326.7)

  • #8A9648

    #8A9648

    oklch(64.6% 0.104 116.6)

  • #35A28C

    #35A28C

    oklch(64.5% 0.103 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF77AF

    #AF77AF

    oklch(64.6% 0.103 326.7)

  • #A9893C

    #A9893C

    oklch(64.5% 0.103 86.5)

  • #239FAD

    #239FAD

    oklch(64.5% 0.103 206.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF77AF

    #AF77AF

    oklch(64.6% 0.103 326.7)

  • #BD7D4C

    #BD7D4C

    oklch(64.6% 0.103 57.1)

  • #629F68

    #629F68

    oklch(64.6% 0.103 146.6)

  • #4897C5

    #4897C5

    oklch(64.6% 0.104 237)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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