#AF6EC9

Closest named color: Soft Purple (#A66FB5). oklch(64.3% 0.148 315.7), rgb(175, 110, 201).

Aa

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

About this color

#AF6EC9 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.148 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.035 away. Black text reads best on it, at 5.89:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.148)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.89:1
White text3.56:1

Values

HEX#AF6EC9
RGBrgb(175, 110, 201)
HSLhsl(283, 46%, 61%)
OKLCHoklch(64.3% 0.148 315.7)

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 #AF6EC9 3.56:1 AA large text Lc -68.4 Content text, not long reading
Black text on #AF6EC9 5.89:1 AA Lc 41.1 Non-text elements, placeholder text
#AF6EC9 text on white 3.56:1 AA large text Lc 63.0 Content text, not long reading
#AF6EC9 text on black 5.89:1 AA Lc -38.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E4D2EC

    oklch(88.6% 0.04 315.6)

  4. Step 300

    300

    #D3B3E1

    oklch(80.9% 0.072 315.5)

  5. Step 400

    400

    #BC8AD1

    oklch(70.7% 0.114 315.6)

  6. Step 500

    500 (this color)

    #AF6EC9

    oklch(64.3% 0.148 315.7)

  7. Step 600

    600

    #9650B2

    oklch(55.6% 0.161 315.4)

  8. Step 700

    700

    #804099

    oklch(49.1% 0.149 315.5)

  9. Step 800

    800

    #68357C

    oklch(42.6% 0.124 315.5)

  10. Step 900

    900

    #552F64

    oklch(37.7% 0.097 315.7)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF6EC9 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)#5D84CC0.126
Deuteranopia (no green cones)#6F8AC60.114
Tritanopia (no blue cones)#AE7B920.098
Achromatopsia (no color)#8888880.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6EC9

    #AF6EC9

    oklch(64.3% 0.148 315.7)

  • #62A03D

    #62A03D

    oklch(64.2% 0.147 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6EC9

    #AF6EC9

    oklch(64.3% 0.148 315.7)

  • #867DE2

    #867DE2

    oklch(64.3% 0.148 285.5)

  • #CA64A0

    #CA64A0

    oklch(64.2% 0.147 345.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF6EC9

    #AF6EC9

    oklch(64.3% 0.148 315.7)

  • #999100

    #999100

    oklch(64.3% 0.137 105.7)

  • #00A679

    #00A679

    oklch(64.3% 0.134 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6EC9

    #AF6EC9

    oklch(64.3% 0.148 315.7)

  • #BB7F00

    #BB7F00

    oklch(64.2% 0.135 75.7)

  • #00A1A2

    #00A1A2

    oklch(64.2% 0.11 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6EC9

    #AF6EC9

    oklch(64.3% 0.148 315.7)

  • #D46B36

    #D46B36

    oklch(64.2% 0.148 45.3)

  • #62A03D

    #62A03D

    oklch(64.2% 0.147 135.6)

  • #009BC5

    #009BC5

    oklch(64.2% 0.122 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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