#AF7FC2

Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.11 316.1), rgb(175, 127, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.63:1
White text3.16:1

Values

HEX#AF7FC2
RGBrgb(175, 127, 194)
HSLhsl(283, 35%, 63%)
OKLCHoklch(66.8% 0.11 316.1)

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 #AF7FC2 3.16:1 AA large text Lc -64.1 Content text, not long reading
Black text on #AF7FC2 6.63:1 AA Lc 45.4 Large or bold text, headings
#AF7FC2 text on white 3.16:1 AA large text Lc 58.7 Large or bold text, headings
#AF7FC2 text on black 6.63:1 AA Lc -43.1 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D3E7

    oklch(88.4% 0.031 315.9)

  4. Step 300

    300

    #CFB7D8

    oklch(81% 0.053 316.8)

  5. Step 400

    400

    #B690C5

    oklch(70.7% 0.086 316.3)

  6. Step 500

    500 (this color)

    #AF7FC2

    oklch(66.8% 0.11 316.1)

  7. Step 600

    600

    #8E5BA2

    oklch(55.5% 0.12 316)

  8. Step 700

    700

    #794B8B

    oklch(49.1% 0.111 315.9)

  9. Step 800

    800

    #623E71

    oklch(42.7% 0.092 315.4)

  10. Step 900

    900

    #50355B

    oklch(37.7% 0.071 315.7)

  11. Step 950

    950

    #2F1F35

    oklch(26.9% 0.045 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FC2 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)#758EC50.089
Deuteranopia (no green cones)#8092C00.082
Tritanopia (no blue cones)#AE87980.073
Achromatopsia (no color)#9191910.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FC2

    #AF7FC2

    oklch(66.8% 0.11 316.1)

  • #75A45F

    #75A45F

    oklch(66.8% 0.109 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FC2

    #AF7FC2

    oklch(66.8% 0.11 316.1)

  • #8F8AD5

    #8F8AD5

    oklch(66.8% 0.11 286.1)

  • #C578A3

    #C578A3

    oklch(66.8% 0.11 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FC2

    #AF7FC2

    oklch(66.8% 0.11 316.1)

  • #9D9941

    #9D9941

    oklch(66.8% 0.11 106.6)

  • #45AA85

    #45AA85

    oklch(66.8% 0.11 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FC2

    #AF7FC2

    oklch(66.8% 0.11 316.1)

  • #BB8B3F

    #BB8B3F

    oklch(66.9% 0.11 76.3)

  • #19A9AB

    #19A9AB

    oklch(66.8% 0.11 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FC2

    #AF7FC2

    oklch(66.8% 0.11 316.1)

  • #CC7E59

    #CC7E59

    oklch(66.8% 0.11 45.7)

  • #75A45F

    #75A45F

    oklch(66.8% 0.109 136.3)

  • #37A2C8

    #37A2C8

    oklch(66.8% 0.11 226)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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