#AF72C8

Closest named color: Wisteria (#A87DC2). oklch(64.9% 0.14 315.6), rgb(175, 114, 200).

Aa

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

About this color

#AF72C8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.140 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.032 away. Black text reads best on it, at 6.06:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.06:1
White text3.46:1

Values

HEX#AF72C8
RGBrgb(175, 114, 200)
HSLhsl(283, 44%, 62%)
OKLCHoklch(64.9% 0.14 315.6)

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 #AF72C8 3.46:1 AA large text Lc -67.4 Content text, not long reading
Black text on #AF72C8 6.06:1 AA Lc 42.1 Non-text elements, placeholder text
#AF72C8 text on white 3.46:1 AA large text Lc 62.0 Content text, not long reading
#AF72C8 text on black 6.06: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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EB

    oklch(88.5% 0.038 315.1)

  4. Step 300

    300

    #D2B4DF

    oklch(81% 0.068 315.6)

  5. Step 400

    400

    #BB8BCF

    oklch(70.7% 0.11 315.7)

  6. Step 500

    500 (this color)

    #AF72C8

    oklch(64.9% 0.14 315.6)

  7. Step 600

    600

    #9553AF

    oklch(55.7% 0.152 315.6)

  8. Step 700

    700

    #7F4396

    oklch(49.2% 0.141 315.8)

  9. Step 800

    800

    #67377A

    oklch(42.7% 0.118 315.6)

  10. Step 900

    900

    #543162

    oklch(37.8% 0.09 315.7)

  11. Step 950

    950

    #311D39

    oklch(27% 0.057 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF72C8 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)#6386CB0.117
Deuteranopia (no green cones)#738CC60.106
Tritanopia (no blue cones)#AE7E930.094
Achromatopsia (no color)#8A8A8A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF72C8

    #AF72C8

    oklch(64.9% 0.14 315.6)

  • #67A145

    #67A145

    oklch(64.8% 0.139 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF72C8

    #AF72C8

    oklch(64.9% 0.14 315.6)

  • #8880DF

    #8880DF

    oklch(64.8% 0.139 285.7)

  • #C969A1

    #C969A1

    oklch(64.9% 0.138 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF72C8

    #AF72C8

    oklch(64.9% 0.14 315.6)

  • #9B9300

    #9B9300

    oklch(64.9% 0.138 105.8)

  • #00A87B

    #00A87B

    oklch(64.9% 0.135 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF72C8

    #AF72C8

    oklch(64.9% 0.14 315.6)

  • #BE8100

    #BE8100

    oklch(64.9% 0.137 75.6)

  • #00A3A4

    #00A3A4

    oklch(64.8% 0.111 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF72C8

    #AF72C8

    oklch(64.9% 0.14 315.6)

  • #D3703F

    #D3703F

    oklch(65% 0.14 45.5)

  • #67A145

    #67A145

    oklch(64.8% 0.139 135.4)

  • #009DC7

    #009DC7

    oklch(64.8% 0.123 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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