#AF7EAB

Closest named color: Heather (#A484AC). oklch(65.7% 0.086 329.3), rgb(175, 126, 171).

Aa

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

About this color

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

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

Values

HEX#AF7EAB
RGBrgb(175, 126, 171)
HSLhsl(305, 23%, 59%)
OKLCHoklch(65.7% 0.086 329.3)

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 #AF7EAB 3.28:1 AA large text Lc -65.5 Content text, not long reading
Black text on #AF7EAB 6.39:1 AA Lc 44.0 Non-text elements, placeholder text
#AF7EAB text on white 3.28:1 AA large text Lc 60.1 Content text, not long reading
#AF7EAB text on black 6.39:1 AA Lc -41.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 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

    #E2D4E1

    oklch(88.5% 0.023 328)

  4. Step 300

    300

    #D1B7CE

    oklch(80.9% 0.043 329.7)

  5. Step 400

    400

    #B992B5

    oklch(70.7% 0.067 329.7)

  6. Step 500

    500 (this color)

    #AF7EAB

    oklch(65.7% 0.086 329.3)

  7. Step 600

    600

    #925F8E

    oklch(55.7% 0.093 329.5)

  8. Step 700

    700

    #7C4E79

    oklch(49.1% 0.087 329.1)

  9. Step 800

    800

    #654062

    oklch(42.7% 0.072 329.6)

  10. Step 900

    900

    #523650

    oklch(37.6% 0.057 329.1)

  11. Step 950

    950

    #30202F

    oklch(27% 0.036 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF7EAB 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)#7C8AAD0.080
Deuteranopia (no green cones)#8790A90.075
Tritanopia (no blue cones)#B3818E0.047
Achromatopsia (no color)#8E8E8E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7EAB

    #AF7EAB

    oklch(65.7% 0.086 329.3)

  • #6BA074

    #6BA074

    oklch(65.6% 0.086 148.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7EAB

    #AF7EAB

    oklch(65.7% 0.086 329.3)

  • #9885BF

    #9885BF

    oklch(65.5% 0.087 299)

  • #BD7B90

    #BD7B90

    oklch(65.7% 0.086 359.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF7EAB

    #AF7EAB

    oklch(65.7% 0.086 329.3)

  • #8B995B

    #8B995B

    oklch(65.7% 0.087 119.2)

  • #4EA392

    #4EA392

    oklch(65.8% 0.087 178.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7EAB

    #AF7EAB

    oklch(65.7% 0.086 329.3)

  • #A68F50

    #A68F50

    oklch(65.7% 0.087 89.9)

  • #47A0AE

    #47A0AE

    oklch(65.7% 0.087 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7EAB

    #AF7EAB

    oklch(65.7% 0.086 329.3)

  • #B9845A

    #B9845A

    oklch(65.6% 0.087 58.9)

  • #6BA074

    #6BA074

    oklch(65.6% 0.086 148.9)

  • #5D99C0

    #5D99C0

    oklch(65.8% 0.085 238.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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