#AF7CD6

Closest named color: Wisteria (#A87DC2). oklch(67.2% 0.139 309.2), rgb(175, 124, 214).

Aa

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

About this color

#AF7CD6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.139 and its hue 309°. 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.67:1.

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

Values

HEX#AF7CD6
RGBrgb(175, 124, 214)
HSLhsl(274, 52%, 66%)
OKLCHoklch(67.2% 0.139 309.2)

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 #AF7CD6 3.14:1 AA large text Lc -63.8 Content text, not long reading
Black text on #AF7CD6 6.67:1 AA Lc 45.7 Large or bold text, headings
#AF7CD6 text on white 3.14:1 AA large text Lc 58.4 Large or bold text, headings
#AF7CD6 text on black 6.67:1 AA Lc -43.4 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E2D1F2

    oklch(88.5% 0.048 308.5)

  4. Step 300

    300

    #D1B2EC

    oklch(81% 0.087 308.8)

  5. Step 400

    400 (this color)

    #AF7CD6

    oklch(67.2% 0.139 309.2)

  6. Step 500

    500

    #A965D9

    oklch(63.1% 0.178 309.3)

  7. Step 600

    600

    #9449C6

    oklch(55.6% 0.192 309.1)

  8. Step 700

    700

    #7E39AB

    oklch(49% 0.178 309.1)

  9. Step 800

    800

    #67308B

    oklch(42.7% 0.149 309.3)

  10. Step 900

    900

    #542C6F

    oklch(37.8% 0.116 309.5)

  11. Step 950

    950

    #311A41

    oklch(26.9% 0.074 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7CD6 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)#688FD90.106
Deuteranopia (no green cones)#7592D40.096
Tritanopia (no blue cones)#AA8A9F0.100
Achromatopsia (no color)#9191910.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7CD6

    #AF7CD6

    oklch(67.2% 0.139 309.2)

  • #7BA641

    #7BA641

    oklch(67.2% 0.139 129)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7CD6

    #AF7CD6

    oklch(67.2% 0.139 309.2)

  • #858BE9

    #858BE9

    oklch(67.3% 0.138 279.2)

  • #CC71B2

    #CC71B2

    oklch(67.1% 0.139 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7CD6

    #AF7CD6

    oklch(67.2% 0.139 309.2)

  • #AB9602

    #AB9602

    oklch(67.1% 0.139 99.2)

  • #2FAF76

    #2FAF76

    oklch(67.2% 0.139 159.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7CD6

    #AF7CD6

    oklch(67.2% 0.139 309.2)

  • #CC841B

    #CC841B

    oklch(67.2% 0.139 69.3)

  • #00ACA5

    #00ACA5

    oklch(67.2% 0.116 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7CD6

    #AF7CD6

    oklch(67.2% 0.139 309.2)

  • #DC7451

    #DC7451

    oklch(67.1% 0.139 39.2)

  • #7BA641

    #7BA641

    oklch(67.2% 0.139 129)

  • #00A7C8

    #00A7C8

    oklch(67.3% 0.121 218.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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