#AF7DCC

Closest named color: Wisteria (#A87DC2). oklch(66.9% 0.125 312.4), rgb(175, 125, 204).

Aa

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

About this color

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

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

Values

HEX#AF7DCC
RGBrgb(175, 125, 204)
HSLhsl(278, 44%, 65%)
OKLCHoklch(66.9% 0.125 312.4)

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

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CEB6DE

    oklch(80.9% 0.061 311.8)

  5. Step 400

    400

    #B58FCD

    oklch(70.7% 0.097 311.9)

  6. Step 500

    500 (this color)

    #AF7DCC

    oklch(66.9% 0.125 312.4)

  7. Step 600

    600

    #8E59AC

    oklch(55.7% 0.135 312.2)

  8. Step 700

    700

    #794894

    oklch(49.1% 0.127 312.3)

  9. Step 800

    800

    #623C78

    oklch(42.7% 0.104 311.9)

  10. Step 900

    900

    #503460

    oklch(37.7% 0.08 312.3)

  11. Step 950

    950

    #2F1E39

    oklch(26.9% 0.053 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7DCC 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)#6F8ECF0.097
Deuteranopia (no green cones)#7A92CA0.091
Tritanopia (no blue cones)#AC889B0.087
Achromatopsia (no color)#9191910.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7DCC

    #AF7DCC

    oklch(66.9% 0.125 312.4)

  • #77A550

    #77A550

    oklch(66.9% 0.126 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7DCC

    #AF7DCC

    oklch(66.9% 0.125 312.4)

  • #8A8ADF

    #8A8ADF

    oklch(66.9% 0.125 282.5)

  • #C974AA

    #C974AA

    oklch(66.9% 0.126 342.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF7DCC

    #AF7DCC

    oklch(66.9% 0.125 312.4)

  • #A4972B

    #A4972B

    oklch(66.8% 0.125 102.3)

  • #39AC7E

    #39AC7E

    oklch(66.8% 0.124 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7DCC

    #AF7DCC

    oklch(66.9% 0.125 312.4)

  • #C3872E

    #C3872E

    oklch(66.8% 0.125 72.6)

  • #00ABA7

    #00ABA7

    oklch(67% 0.115 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7DCC

    #AF7DCC

    oklch(66.9% 0.125 312.4)

  • #D47954

    #D47954

    oklch(66.9% 0.125 42.5)

  • #77A550

    #77A550

    oklch(66.9% 0.126 132.4)

  • #00A5CB

    #00A5CB

    oklch(66.9% 0.124 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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