#AF76B2

Closest named color: Soft Purple (#A66FB5). oklch(64.5% 0.108 325), rgb(175, 118, 178).

Aa

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

About this color

#AF76B2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.108 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.026 away. Black text reads best on it, at 6.05:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text6.05:1
White text3.46:1

Values

HEX#AF76B2
RGBrgb(175, 118, 178)
HSLhsl(297, 28%, 58%)
OKLCHoklch(64.5% 0.108 325)

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 #AF76B2 3.46:1 AA large text Lc -67.6 Content text, not long reading
Black text on #AF76B2 6.05:1 AA Lc 42.0 Non-text elements, placeholder text
#AF76B2 text on white 3.46:1 AA large text Lc 62.1 Content text, not long reading
#AF76B2 text on black 6.05:1 AA Lc -39.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7F0

    oklch(93.7% 0.015 322.3)

  3. Step 200

    200

    #E4D3E4

    oklch(88.6% 0.029 325.8)

  4. Step 300

    300

    #D3B5D4

    oklch(80.9% 0.054 325.1)

  5. Step 400

    400

    #BC8EBE

    oklch(70.6% 0.086 325.1)

  6. Step 500

    500 (this color)

    #AF76B2

    oklch(64.5% 0.108 325)

  7. Step 600

    600

    #955999

    oklch(55.5% 0.118 324.8)

  8. Step 700

    700

    #7F4983

    oklch(49.1% 0.109 324.6)

  9. Step 800

    800

    #683C6A

    oklch(42.7% 0.091 325.5)

  10. Step 900

    900

    #543456

    oklch(37.7% 0.07 324.8)

  11. Step 950

    950

    #311F32

    oklch(27% 0.043 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF76B2 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)#7185B40.098
Deuteranopia (no green cones)#7F8CB00.090
Tritanopia (no blue cones)#B27C8C0.065
Achromatopsia (no color)#8A8A8A0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF76B2

    #AF76B2

    oklch(64.5% 0.108 325)

  • #619F64

    #619F64

    oklch(64.5% 0.108 145.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF76B2

    #AF76B2

    oklch(64.5% 0.108 325)

  • #9380C9

    #9380C9

    oklch(64.6% 0.109 295.2)

  • #C17191

    #C17191

    oklch(64.6% 0.108 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF76B2

    #AF76B2

    oklch(64.5% 0.108 325)

  • #8C9542

    #8C9542

    oklch(64.5% 0.108 114.6)

  • #2FA38A

    #2FA38A

    oklch(64.5% 0.108 175)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF76B2

    #AF76B2

    oklch(64.5% 0.108 325)

  • #AC8836

    #AC8836

    oklch(64.5% 0.108 84.9)

  • #0EA0AD

    #0EA0AD

    oklch(64.5% 0.108 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF76B2

    #AF76B2

    oklch(64.5% 0.108 325)

  • #C07B49

    #C07B49

    oklch(64.5% 0.108 55.4)

  • #619F64

    #619F64

    oklch(64.5% 0.108 145.3)

  • #4098C6

    #4098C6

    oklch(64.6% 0.108 234.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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