#AF6FAD

Closest named color: Soft Purple (#A66FB5). oklch(63.1% 0.116 327.9), rgb(175, 111, 173).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.69:1
White text3.68:1

Values

HEX#AF6FAD
RGBrgb(175, 111, 173)
HSLhsl(302, 29%, 56%)
OKLCHoklch(63.1% 0.116 327.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 #AF6FAD 3.68:1 AA large text Lc -69.7 Content text, not long reading
Black text on #AF6FAD 5.69:1 AA Lc 39.8 Non-text elements, placeholder text
#AF6FAD text on white 3.68:1 AA large text Lc 64.2 Content text, not long reading
#AF6FAD text on black 5.69:1 AA Lc -37.4 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

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D2E4

    oklch(88.5% 0.032 327.4)

  4. Step 300

    300

    #D5B4D3

    oklch(80.8% 0.056 328)

  5. Step 400

    400

    #C08CBD

    oklch(70.6% 0.091 328.4)

  6. Step 500

    500 (this color)

    #AF6FAD

    oklch(63.1% 0.116 327.9)

  7. Step 600

    600

    #9A5698

    oklch(55.6% 0.126 328.2)

  8. Step 700

    700

    #834682

    oklch(49.1% 0.117 327.8)

  9. Step 800

    800

    #6B3A6A

    oklch(42.8% 0.097 327.8)

  10. Step 900

    900

    #573256

    oklch(37.7% 0.076 327.9)

  11. Step 950

    950

    #331E32

    oklch(27.1% 0.047 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF6FAD 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)#6B80AF0.109
Deuteranopia (no green cones)#7B88AB0.100
Tritanopia (no blue cones)#B374860.065
Achromatopsia (no color)#8585850.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6FAD

    #AF6FAD

    oklch(63.1% 0.116 327.9)

  • #549D60

    #549D60

    oklch(63.2% 0.117 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6FAD

    #AF6FAD

    oklch(63.1% 0.116 327.9)

  • #9279C6

    #9279C6

    oklch(63.1% 0.116 298)

  • #C16A89

    #C16A89

    oklch(63.2% 0.116 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF6FAD

    #AF6FAD

    oklch(63.1% 0.116 327.9)

  • #849339

    #849339

    oklch(63.2% 0.116 117.8)

  • #02A089

    #02A089

    oklch(63.1% 0.116 177.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6FAD

    #AF6FAD

    oklch(63.1% 0.116 327.9)

  • #A78525

    #A78525

    oklch(63.2% 0.116 88.1)

  • #009BAC

    #009BAC

    oklch(63.1% 0.109 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6FAD

    #AF6FAD

    oklch(63.1% 0.116 327.9)

  • #BD763B

    #BD763B

    oklch(63.1% 0.116 58)

  • #549D60

    #549D60

    oklch(63.2% 0.117 147.8)

  • #3793C7

    #3793C7

    oklch(63.2% 0.116 237.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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