#AF7EAF

Closest named color: Heather (#A484AC). oklch(65.8% 0.09 326.5), rgb(175, 126, 175).

Aa

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

About this color

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

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

Values

HEX#AF7EAF
RGBrgb(175, 126, 175)
HSLhsl(300, 23%, 59%)
OKLCHoklch(65.8% 0.09 326.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 #AF7EAF 3.26:1 AA large text Lc -65.4 Content text, not long reading
Black text on #AF7EAF 6.42:1 AA Lc 44.2 Non-text elements, placeholder text
#AF7EAF text on white 3.26:1 AA large text Lc 59.9 Large or bold text, headings
#AF7EAF text on black 6.42:1 AA Lc -41.8 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E2D4E2

    oklch(88.5% 0.024 325.8)

  4. Step 300

    300

    #D0B7D0

    oklch(80.8% 0.044 326)

  5. Step 400

    400

    #B891B8

    oklch(70.6% 0.071 326.3)

  6. Step 500

    500 (this color)

    #AF7EAF

    oklch(65.8% 0.09 326.5)

  7. Step 600

    600

    #915E92

    oklch(55.6% 0.098 326.1)

  8. Step 700

    700

    #7C4D7C

    oklch(49.1% 0.092 326.9)

  9. Step 800

    800

    #654065

    oklch(42.8% 0.075 326.8)

  10. Step 900

    900

    #523652

    oklch(37.7% 0.059 326.7)

  11. Step 950

    950

    #302030

    oklch(27% 0.037 326.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EAF 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)#7B8AB10.081
Deuteranopia (no green cones)#8690AD0.076
Tritanopia (no blue cones)#B2828F0.053
Achromatopsia (no color)#8E8E8E0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EAF

    #AF7EAF

    oklch(65.8% 0.09 326.5)

  • #6CA171

    #6CA171

    oklch(65.9% 0.09 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EAF

    #AF7EAF

    oklch(65.8% 0.09 326.5)

  • #9786C3

    #9786C3

    oklch(65.8% 0.091 296.6)

  • #BE7A93

    #BE7A93

    oklch(65.8% 0.09 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EAF

    #AF7EAF

    oklch(65.8% 0.09 326.5)

  • #8E9957

    #8E9957

    oklch(65.8% 0.09 116.7)

  • #4CA490

    #4CA490

    oklch(65.9% 0.09 176.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EAF

    #AF7EAF

    oklch(65.8% 0.09 326.5)

  • #AA8E4D

    #AA8E4D

    oklch(65.8% 0.091 86.6)

  • #41A1AD

    #41A1AD

    oklch(65.7% 0.09 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EAF

    #AF7EAF

    oklch(65.8% 0.09 326.5)

  • #BC8359

    #BC8359

    oklch(65.8% 0.091 56.8)

  • #6CA171

    #6CA171

    oklch(65.9% 0.09 146.8)

  • #579AC2

    #579AC2

    oklch(65.8% 0.091 236.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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