#AF7FD2

Closest named color: Wisteria (#A87DC2). oklch(67.5% 0.129 309.9), rgb(175, 127, 210).

Aa

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

About this color

#AF7FD2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.129 and its hue 310°. 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.78:1.

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

Values

HEX#AF7FD2
RGBrgb(175, 127, 210)
HSLhsl(275, 48%, 66%)
OKLCHoklch(67.5% 0.129 309.9)

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 #AF7FD2 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #AF7FD2 6.78:1 AA Lc 46.3 Large or bold text, headings
#AF7FD2 text on white 3.09:1 AA large text Lc 57.7 Large or bold text, headings
#AF7FD2 text on black 6.78:1 AA Lc -44.0 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E2D1F0

    oklch(88.4% 0.046 309.9)

  4. Step 300

    300

    #D1B3E8

    oklch(81% 0.08 310.2)

  5. Step 400

    400 (this color)

    #AF7FD2

    oklch(67.5% 0.129 309.9)

  6. Step 500

    500

    #A868D3

    oklch(63.1% 0.166 310.1)

  7. Step 600

    600

    #934DC0

    oklch(55.6% 0.179 309.9)

  8. Step 700

    700

    #7D3DA6

    oklch(49.1% 0.167 309.7)

  9. Step 800

    800

    #663386

    oklch(42.7% 0.138 310.2)

  10. Step 900

    900

    #532E6B

    oklch(37.7% 0.107 310.3)

  11. Step 950

    950

    #301C3F

    oklch(27% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FD2 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)#6E90D50.097
Deuteranopia (no green cones)#7A93D00.088
Tritanopia (no blue cones)#AB8B9F0.091
Achromatopsia (no color)#9292920.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FD2

    #AF7FD2

    oklch(67.5% 0.129 309.9)

  • #7CA64C

    #7CA64C

    oklch(67.4% 0.128 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FD2

    #AF7FD2

    oklch(67.5% 0.129 309.9)

  • #888DE4

    #888DE4

    oklch(67.6% 0.128 279.9)

  • #CB75B0

    #CB75B0

    oklch(67.5% 0.13 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FD2

    #AF7FD2

    oklch(67.5% 0.129 309.9)

  • #AA9825

    #AA9825

    oklch(67.6% 0.129 99.9)

  • #3DAF7B

    #3DAF7B

    oklch(67.6% 0.129 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FD2

    #AF7FD2

    oklch(67.5% 0.129 309.9)

  • #C9872D

    #C9872D

    oklch(67.5% 0.129 70)

  • #00ADA7

    #00ADA7

    oklch(67.5% 0.116 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FD2

    #AF7FD2

    oklch(67.5% 0.129 309.9)

  • #D97957

    #D97957

    oklch(67.6% 0.129 40.1)

  • #7CA64C

    #7CA64C

    oklch(67.4% 0.128 130)

  • #00A8CB

    #00A8CB

    oklch(67.7% 0.123 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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