#AF7CD2

Closest named color: Wisteria (#A87DC2). oklch(67% 0.134 310.5), rgb(175, 124, 210).

Aa

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

About this color

#AF7CD2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.134 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.63:1.

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

Values

HEX#AF7CD2
RGBrgb(175, 124, 210)
HSLhsl(276, 49%, 65%)
OKLCHoklch(67% 0.134 310.5)

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 #AF7CD2 3.16:1 AA large text Lc -64.0 Content text, not long reading
Black text on #AF7CD2 6.63:1 AA Lc 45.4 Large or bold text, headings
#AF7CD2 text on white 3.16:1 AA large text Lc 58.6 Large or bold text, headings
#AF7CD2 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 400.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F1

    oklch(88.5% 0.047 310.5)

  4. Step 300

    300

    #D2B2E9

    oklch(81% 0.083 310.8)

  5. Step 400

    400 (this color)

    #AF7CD2

    oklch(67% 0.134 310.5)

  6. Step 500

    500

    #AA66D5

    oklch(63.1% 0.172 310.7)

  7. Step 600

    600

    #954AC2

    oklch(55.6% 0.186 310.5)

  8. Step 700

    700

    #7F3AA8

    oklch(49.1% 0.174 310.4)

  9. Step 800

    800

    #673188

    oklch(42.7% 0.144 310.3)

  10. Step 900

    900

    #542D6D

    oklch(37.8% 0.111 310.3)

  11. Step 950

    950

    #311B40

    oklch(27% 0.071 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF7CD2 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)#6A8ED50.103
Deuteranopia (no green cones)#7792D00.095
Tritanopia (no blue cones)#AB899D0.096
Achromatopsia (no color)#9191910.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7CD2

    #AF7CD2

    oklch(67% 0.134 310.5)

  • #79A547

    #79A547

    oklch(66.9% 0.133 130.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7CD2

    #AF7CD2

    oklch(67% 0.134 310.5)

  • #878AE5

    #878AE5

    oklch(67% 0.133 280.7)

  • #CB72AE

    #CB72AE

    oklch(67% 0.134 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF7CD2

    #AF7CD2

    oklch(67% 0.134 310.5)

  • #A89617

    #A89617

    oklch(66.9% 0.134 100.3)

  • #31AE79

    #31AE79

    oklch(67% 0.134 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7CD2

    #AF7CD2

    oklch(67% 0.134 310.5)

  • #C98522

    #C98522

    oklch(67.1% 0.134 70.4)

  • #00ABA6

    #00ABA6

    oklch(66.9% 0.115 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7CD2

    #AF7CD2

    oklch(67% 0.134 310.5)

  • #D97652

    #D97652

    oklch(67% 0.134 40.4)

  • #79A547

    #79A547

    oklch(66.9% 0.133 130.2)

  • #00A6C9

    #00A6C9

    oklch(67.1% 0.122 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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