#AF7DCD

Closest named color: Wisteria (#A87DC2). oklch(66.9% 0.126 312), rgb(175, 125, 205).

Aa

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

About this color

#AF7DCD is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.126 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.020 away. Black text reads best on it, at 6.63:1.

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

Values

HEX#AF7DCD
RGBrgb(175, 125, 205)
HSLhsl(278, 44%, 65%)
OKLCHoklch(66.9% 0.126 312)

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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D2B2E6

    oklch(80.8% 0.08 312.3)

  5. Step 400

    400 (this color)

    #AF7DCD

    oklch(66.9% 0.126 312)

  6. Step 500

    500

    #AA68CF

    oklch(63.1% 0.162 312.2)

  7. Step 600

    600

    #954DBC

    oklch(55.6% 0.176 312)

  8. Step 700

    700

    #7F3DA2

    oklch(49.1% 0.163 312)

  9. Step 800

    800

    #673383

    oklch(42.6% 0.135 312)

  10. Step 900

    900

    #542E69

    oklch(37.7% 0.105 312.1)

  11. Step 950

    950

    #311B3E

    oklch(26.9% 0.068 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF7DCD 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)#6E8ED00.098
Deuteranopia (no green cones)#7A92CB0.090
Tritanopia (no blue cones)#AC889B0.089
Achromatopsia (no color)#9191910.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7DCD

    #AF7DCD

    oklch(66.9% 0.126 312)

  • #77A54F

    #77A54F

    oklch(66.9% 0.127 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7DCD

    #AF7DCD

    oklch(66.9% 0.126 312)

  • #898AE0

    #898AE0

    oklch(66.9% 0.126 281.9)

  • #C974AB

    #C974AB

    oklch(66.9% 0.126 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7DCD

    #AF7DCD

    oklch(66.9% 0.126 312)

  • #A59729

    #A59729

    oklch(66.9% 0.126 101.8)

  • #38AD7D

    #38AD7D

    oklch(67% 0.127 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7DCD

    #AF7DCD

    oklch(66.9% 0.126 312)

  • #C4872D

    #C4872D

    oklch(67% 0.126 72.3)

  • #00ABA7

    #00ABA7

    oklch(67% 0.115 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7DCD

    #AF7DCD

    oklch(66.9% 0.126 312)

  • #D57954

    #D57954

    oklch(67% 0.126 42.2)

  • #77A54F

    #77A54F

    oklch(66.9% 0.127 132.2)

  • #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 #AF7DCD, closest first.

Similar named colors

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

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