#AF6EB7

Closest named color: Soft Purple (#A66FB5). oklch(63.4% 0.128 323), rgb(175, 110, 183).

Aa

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

About this color

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

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

Values

HEX#AF6EB7
RGBrgb(175, 110, 183)
HSLhsl(293, 34%, 57%)
OKLCHoklch(63.4% 0.128 323)

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 #AF6EB7 3.66:1 AA large text Lc -69.5 Content text, not long reading
Black text on #AF6EB7 5.73:1 AA Lc 40.1 Non-text elements, placeholder text
#AF6EB7 text on white 3.66:1 AA large text Lc 64.0 Content text, not long reading
#AF6EB7 text on black 5.73:1 AA Lc -37.7 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

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E5D2E7

    oklch(88.5% 0.035 322.9)

  4. Step 300

    300

    #D5B4D8

    oklch(81% 0.062 323.5)

  5. Step 400

    400

    #BF8BC5

    oklch(70.7% 0.101 323)

  6. Step 500

    500 (this color)

    #AF6EB7

    oklch(63.4% 0.128 323)

  7. Step 600

    600

    #9954A2

    oklch(55.7% 0.138 322.8)

  8. Step 700

    700

    #83448B

    oklch(49.2% 0.129 323)

  9. Step 800

    800

    #6A3871

    oklch(42.7% 0.108 322.5)

  10. Step 900

    900

    #56315B

    oklch(37.7% 0.083 322.6)

  11. Step 950

    950

    #331D35

    oklch(27% 0.053 323.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF6EB7 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)#6681BA0.116
Deuteranopia (no green cones)#7788B50.104
Tritanopia (no blue cones)#B1768A0.078
Achromatopsia (no color)#8686860.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6EB7

    #AF6EB7

    oklch(63.4% 0.128 323)

  • #589E54

    #589E54

    oklch(63.5% 0.128 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6EB7

    #AF6EB7

    oklch(63.4% 0.128 323)

  • #8E7AD0

    #8E7AD0

    oklch(63.4% 0.127 293.1)

  • #C46791

    #C46791

    oklch(63.4% 0.128 352.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF6EB7

    #AF6EB7

    oklch(63.4% 0.128 323)

  • #8B9224

    #8B9224

    oklch(63.4% 0.128 113.2)

  • #00A283

    #00A283

    oklch(63.5% 0.122 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6EB7

    #AF6EB7

    oklch(63.4% 0.128 323)

  • #B0820B

    #B0820B

    oklch(63.5% 0.128 83)

  • #009DA7

    #009DA7

    oklch(63.4% 0.108 202.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6EB7

    #AF6EB7

    oklch(63.4% 0.128 323)

  • #C67237

    #C67237

    oklch(63.5% 0.129 53)

  • #589E54

    #589E54

    oklch(63.5% 0.128 142.8)

  • #1096CB

    #1096CB

    oklch(63.4% 0.128 233.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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