#AF78AC

Closest named color: Wisteria (#A87DC2). oklch(64.6% 0.098 328.5), rgb(175, 120, 172).

Aa

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

About this color

#AF78AC is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.098 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.034 away. Black text reads best on it, at 6.10:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.10:1
White text3.43:1

Values

HEX#AF78AC
RGBrgb(175, 120, 172)
HSLhsl(303, 26%, 58%)
OKLCHoklch(64.6% 0.098 328.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 #AF78AC 3.43:1 AA large text Lc -67.3 Content text, not long reading
Black text on #AF78AC 6.10:1 AA Lc 42.3 Non-text elements, placeholder text
#AF78AC text on white 3.43:1 AA large text Lc 61.8 Content text, not long reading
#AF78AC text on black 6.10:1 AA Lc -39.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

    #E3D3E2

    oklch(88.4% 0.027 327.7)

  4. Step 300

    300

    #D3B6D0

    oklch(80.9% 0.048 329.3)

  5. Step 400

    400

    #BC90B9

    oklch(70.8% 0.077 328.6)

  6. Step 500

    500 (this color)

    #AF78AC

    oklch(64.6% 0.098 328.5)

  7. Step 600

    600

    #955B92

    oklch(55.5% 0.107 328.7)

  8. Step 700

    700

    #7F4B7D

    oklch(49.2% 0.099 328.3)

  9. Step 800

    800

    #673E65

    oklch(42.7% 0.081 328.6)

  10. Step 900

    900

    #543553

    oklch(37.8% 0.064 327.9)

  11. Step 950

    950

    #311F30

    oklch(26.9% 0.04 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF78AC 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)#7586AE0.092
Deuteranopia (no green cones)#828DAA0.085
Tritanopia (no blue cones)#B37C8B0.055
Achromatopsia (no color)#8A8A8A0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF78AC

    #AF78AC

    oklch(64.6% 0.098 328.5)

  • #629F6C

    #629F6C

    oklch(64.7% 0.099 148.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF78AC

    #AF78AC

    oklch(64.6% 0.098 328.5)

  • #9681C2

    #9681C2

    oklch(64.7% 0.098 298.5)

  • #BF748D

    #BF748D

    oklch(64.7% 0.099 358.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF78AC

    #AF78AC

    oklch(64.6% 0.098 328.5)

  • #88964E

    #88964E

    oklch(64.5% 0.098 118.3)

  • #3BA28F

    #3BA28F

    oklch(64.8% 0.099 178.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF78AC

    #AF78AC

    oklch(64.6% 0.098 328.5)

  • #A78B41

    #A78B41

    oklch(64.8% 0.099 88.7)

  • #2F9EAE

    #2F9EAE

    oklch(64.5% 0.099 209.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF78AC

    #AF78AC

    oklch(64.6% 0.098 328.5)

  • #BB7F4E

    #BB7F4E

    oklch(64.7% 0.099 59)

  • #629F6C

    #629F6C

    oklch(64.7% 0.099 148.4)

  • #4F96C3

    #4F96C3

    oklch(64.6% 0.098 238.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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