#AF7FD7

Closest named color: Wisteria (#A87DC2). oklch(67.8% 0.135 308.3), rgb(175, 127, 215).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.83:1
White text3.07:1

Values

HEX#AF7FD7
RGBrgb(175, 127, 215)
HSLhsl(273, 52%, 67%)
OKLCHoklch(67.8% 0.135 308.3)

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 #AF7FD7 3.07:1 AA large text Lc -62.8 Content text, not long reading
Black text on #AF7FD7 6.83:1 AA Lc 46.6 Large or bold text, headings
#AF7FD7 text on white 3.07:1 AA large text Lc 57.4 Large or bold text, headings
#AF7FD7 text on black 6.83:1 AA Lc -44.3 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F2

    oklch(88.5% 0.048 308.5)

  4. Step 300

    300

    #D0B2EB

    oklch(80.9% 0.085 308.4)

  5. Step 400

    400 (this color)

    #AF7FD7

    oklch(67.8% 0.135 308.3)

  6. Step 500

    500

    #A767D8

    oklch(63.1% 0.173 308.4)

  7. Step 600

    600

    #924BC5

    oklch(55.5% 0.187 308.3)

  8. Step 700

    700

    #7D3BAA

    oklch(49.1% 0.174 308.7)

  9. Step 800

    800

    #65328A

    oklch(42.7% 0.144 308.2)

  10. Step 900

    900

    #522D6E

    oklch(37.6% 0.112 308.2)

  11. Step 950

    950

    #301B41

    oklch(27% 0.072 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FD7 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)#6C91DA0.100
Deuteranopia (no green cones)#7794D50.092
Tritanopia (no blue cones)#AA8CA10.097
Achromatopsia (no color)#9393930.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FD7

    #AF7FD7

    oklch(67.8% 0.135 308.3)

  • #7FA745

    #7FA745

    oklch(67.8% 0.135 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FD7

    #AF7FD7

    oklch(67.8% 0.135 308.3)

  • #858DE9

    #858DE9

    oklch(67.6% 0.135 278.4)

  • #CC75B4

    #CC75B4

    oklch(67.8% 0.134 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FD7

    #AF7FD7

    oklch(67.8% 0.135 308.3)

  • #AE9716

    #AE9716

    oklch(67.7% 0.135 97.8)

  • #3AB077

    #3AB077

    oklch(67.7% 0.135 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FD7

    #AF7FD7

    oklch(67.8% 0.135 308.3)

  • #CD8627

    #CD8627

    oklch(67.8% 0.135 68.5)

  • #00AEA5

    #00AEA5

    oklch(67.7% 0.118 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FD7

    #AF7FD7

    oklch(67.8% 0.135 308.3)

  • #DD7757

    #DD7757

    oklch(67.8% 0.135 38.1)

  • #7FA745

    #7FA745

    oklch(67.8% 0.135 128.2)

  • #00A9CA

    #00A9CA

    oklch(67.9% 0.122 218.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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