#AF7FCC

Closest named color: Wisteria (#A87DC2). oklch(67.2% 0.122 312), rgb(175, 127, 204).

Aa

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

About this color

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

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

Values

HEX#AF7FCC
RGBrgb(175, 127, 204)
HSLhsl(277, 43%, 65%)
OKLCHoklch(67.2% 0.122 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 #AF7FCC 3.12:1 AA large text Lc -63.5 Content text, not long reading
Black text on #AF7FCC 6.73:1 AA Lc 46.0 Large or bold text, headings
#AF7FCC text on white 3.12:1 AA large text Lc 58.1 Large or bold text, headings
#AF7FCC text on black 6.73:1 AA Lc -43.6 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

    #E3D2EE

    oklch(88.6% 0.042 312.3)

  4. Step 300

    300

    #D1B3E5

    oklch(80.9% 0.076 311.7)

  5. Step 400

    400 (this color)

    #AF7FCC

    oklch(67.2% 0.122 312)

  6. Step 500

    500

    #A96ACD

    oklch(63.2% 0.156 312.1)

  7. Step 600

    600

    #944FB9

    oklch(55.6% 0.169 312.2)

  8. Step 700

    700

    #7E3FA0

    oklch(49.1% 0.158 312)

  9. Step 800

    800

    #663581

    oklch(42.6% 0.129 311.9)

  10. Step 900

    900

    #532F68

    oklch(37.7% 0.101 311.6)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF7FCC 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)#718FCF0.094
Deuteranopia (no green cones)#7C93CA0.087
Tritanopia (no blue cones)#AC8A9C0.086
Achromatopsia (no color)#9292920.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7FCC

    #AF7FCC

    oklch(67.2% 0.122 312)

  • #7AA553

    #7AA553

    oklch(67.2% 0.121 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7FCC

    #AF7FCC

    oklch(67.2% 0.122 312)

  • #8A8CDF

    #8A8CDF

    oklch(67.3% 0.122 281.6)

  • #C876AB

    #C876AB

    oklch(67.1% 0.122 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF7FCC

    #AF7FCC

    oklch(67.2% 0.122 312)

  • #A59831

    #A59831

    oklch(67.2% 0.122 102)

  • #40AD7F

    #40AD7F

    oklch(67.3% 0.121 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7FCC

    #AF7FCC

    oklch(67.2% 0.122 312)

  • #C48834

    #C48834

    oklch(67.2% 0.122 71.7)

  • #00ACA8

    #00ACA8

    oklch(67.3% 0.116 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7FCC

    #AF7FCC

    oklch(67.2% 0.122 312)

  • #D47B58

    #D47B58

    oklch(67.3% 0.121 41.9)

  • #7AA553

    #7AA553

    oklch(67.2% 0.121 131.7)

  • #11A6CB

    #11A6CB

    oklch(67.3% 0.121 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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