#AF76BA

Closest named color: Wisteria (#A87DC2). oklch(64.9% 0.117 320.9), rgb(175, 118, 186).

Aa

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

About this color

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

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

Values

HEX#AF76BA
RGBrgb(175, 118, 186)
HSLhsl(290, 33%, 60%)
OKLCHoklch(64.9% 0.117 320.9)

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 #AF76BA 3.42:1 AA large text Lc -67.1 Content text, not long reading
Black text on #AF76BA 6.12:1 AA Lc 42.4 Non-text elements, placeholder text
#AF76BA text on white 3.42:1 AA large text Lc 61.7 Content text, not long reading
#AF76BA text on black 6.12:1 AA Lc -40.0 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D3E6

    oklch(88.5% 0.031 320.9)

  4. Step 300

    300

    #D2B5D7

    oklch(80.9% 0.057 321.3)

  5. Step 400

    400

    #BB8EC4

    oklch(70.8% 0.092 320.7)

  6. Step 500

    500 (this color)

    #AF76BA

    oklch(64.9% 0.117 320.9)

  7. Step 600

    600

    #9458A0

    oklch(55.6% 0.126 320.8)

  8. Step 700

    700

    #7E4889

    oklch(49.1% 0.117 320.7)

  9. Step 800

    800

    #673B6F

    oklch(42.7% 0.098 321.3)

  10. Step 900

    900

    #54335A

    oklch(37.7% 0.076 321.3)

  11. Step 950

    950

    #311E35

    oklch(27% 0.049 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF76BA 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)#6E86BD0.101
Deuteranopia (no green cones)#7C8DB80.094
Tritanopia (no blue cones)#B07E8F0.074
Achromatopsia (no color)#8A8A8A0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF76BA

    #AF76BA

    oklch(64.9% 0.117 320.9)

  • #65A05B

    #65A05B

    oklch(64.8% 0.117 140.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF76BA

    #AF76BA

    oklch(64.9% 0.117 320.9)

  • #8F81D0

    #8F81D0

    oklch(64.8% 0.116 290.9)

  • #C46F98

    #C46F98

    oklch(64.8% 0.118 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF76BA

    #AF76BA

    oklch(64.9% 0.117 320.9)

  • #929536

    #929536

    oklch(64.8% 0.117 111)

  • #28A585

    #28A585

    oklch(64.8% 0.116 171.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF76BA

    #AF76BA

    oklch(64.9% 0.117 320.9)

  • #B3862C

    #B3862C

    oklch(64.8% 0.117 80.8)

  • #00A2AA

    #00A2AA

    oklch(64.8% 0.11 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF76BA

    #AF76BA

    oklch(64.9% 0.117 320.9)

  • #C77848

    #C77848

    oklch(64.8% 0.118 50.7)

  • #65A05B

    #65A05B

    oklch(64.8% 0.117 140.9)

  • #2D9BC9

    #2D9BC9

    oklch(64.9% 0.117 231)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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