#AF7EB2

Closest named color: Heather (#A484AC). oklch(65.9% 0.094 324.6), rgb(175, 126, 178).

Aa

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

About this color

#AF7EB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.094 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.026 away. Black text reads best on it, at 6.45:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.45:1
White text3.25:1

Values

HEX#AF7EB2
RGBrgb(175, 126, 178)
HSLhsl(297, 25%, 60%)
OKLCHoklch(65.9% 0.094 324.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 #AF7EB2 3.25:1 AA large text Lc -65.2 Content text, not long reading
Black text on #AF7EB2 6.45:1 AA Lc 44.3 Non-text elements, placeholder text
#AF7EB2 text on white 3.25:1 AA large text Lc 59.8 Large or bold text, headings
#AF7EB2 text on black 6.45:1 AA Lc -41.9 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E2D4E3

    oklch(88.6% 0.025 323.8)

  4. Step 300

    300

    #D0B7D1

    oklch(80.9% 0.045 324.8)

  5. Step 400

    400

    #B891BA

    oklch(70.6% 0.073 324.7)

  6. Step 500

    500 (this color)

    #AF7EB2

    oklch(65.9% 0.094 324.6)

  7. Step 600

    600

    #915E94

    oklch(55.7% 0.101 324.9)

  8. Step 700

    700

    #7B4D7E

    oklch(49.1% 0.094 324.7)

  9. Step 800

    800

    #643F67

    oklch(42.6% 0.079 324.2)

  10. Step 900

    900

    #523654

    oklch(37.7% 0.062 324.4)

  11. Step 950

    950

    #302031

    oklch(27.1% 0.038 324.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EB2 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)#7A8BB40.083
Deuteranopia (no green cones)#8591B00.078
Tritanopia (no blue cones)#B283910.056
Achromatopsia (no color)#8E8E8E0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EB2

    #AF7EB2

    oklch(65.9% 0.094 324.6)

  • #6DA16E

    #6DA16E

    oklch(65.9% 0.093 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EB2

    #AF7EB2

    oklch(65.9% 0.094 324.6)

  • #9687C6

    #9687C6

    oklch(66.1% 0.093 294.6)

  • #BF7A95

    #BF7A95

    oklch(66% 0.092 354.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EB2

    #AF7EB2

    oklch(65.9% 0.094 324.6)

  • #909953

    #909953

    oklch(65.9% 0.094 115)

  • #4AA58E

    #4AA58E

    oklch(66% 0.094 174.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EB2

    #AF7EB2

    oklch(65.9% 0.094 324.6)

  • #AD8D4B

    #AD8D4B

    oklch(65.9% 0.093 83.9)

  • #3CA2AD

    #3CA2AD

    oklch(65.8% 0.093 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EB2

    #AF7EB2

    oklch(65.9% 0.094 324.6)

  • #BF8259

    #BF8259

    oklch(65.9% 0.094 54.3)

  • #6DA16E

    #6DA16E

    oklch(65.9% 0.093 144.9)

  • #539BC3

    #539BC3

    oklch(65.9% 0.094 235)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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