#AF6AC8

Closest named color: Soft Purple (#A66FB5). oklch(63.6% 0.153 316.5), rgb(175, 106, 200).

Aa

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

About this color

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

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

Values

HEX#AF6AC8
RGBrgb(175, 106, 200)
HSLhsl(284, 46%, 60%)
OKLCHoklch(63.6% 0.153 316.5)

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 #AF6AC8 3.67:1 AA large text Lc -69.5 Content text, not long reading
Black text on #AF6AC8 5.71:1 AA Lc 40.0 Non-text elements, placeholder text
#AF6AC8 text on white 3.67:1 AA large text Lc 64.0 Content text, not long reading
#AF6AC8 text on black 5.71:1 AA Lc -37.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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1EC

    oklch(88.4% 0.042 316)

  4. Step 300

    300

    #D4B2E1

    oklch(80.8% 0.075 316.6)

  5. Step 400

    400

    #BE88D2

    oklch(70.6% 0.12 316.6)

  6. Step 500

    500 (this color)

    #AF6AC8

    oklch(63.6% 0.153 316.5)

  7. Step 600

    600

    #994EB3

    oklch(55.7% 0.166 316.6)

  8. Step 700

    700

    #823E9A

    oklch(49.1% 0.155 316.4)

  9. Step 800

    800

    #6A347D

    oklch(42.8% 0.128 316.5)

  10. Step 900

    900

    #562E64

    oklch(37.7% 0.1 316.7)

  11. Step 950

    950

    #321C3B

    oklch(27% 0.062 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF6AC8 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)#5881CB0.133
Deuteranopia (no green cones)#6C88C50.120
Tritanopia (no blue cones)#AE77900.100
Achromatopsia (no color)#8585850.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6AC8

    #AF6AC8

    oklch(63.6% 0.153 316.5)

  • #5C9F38

    #5C9F38

    oklch(63.6% 0.153 136.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6AC8

    #AF6AC8

    oklch(63.6% 0.153 316.5)

  • #8679E2

    #8679E2

    oklch(63.5% 0.154 286.8)

  • #CB5F9D

    #CB5F9D

    oklch(63.6% 0.154 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF6AC8

    #AF6AC8

    oklch(63.6% 0.153 316.5)

  • #968F00

    #968F00

    oklch(63.6% 0.136 106.2)

  • #00A379

    #00A379

    oklch(63.5% 0.131 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6AC8

    #AF6AC8

    oklch(63.6% 0.153 316.5)

  • #B87E00

    #B87E00

    oklch(63.6% 0.133 76.5)

  • #009FA1

    #009FA1

    oklch(63.7% 0.108 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6AC8

    #AF6AC8

    oklch(63.6% 0.153 316.5)

  • #D3682C

    #D3682C

    oklch(63.5% 0.153 46.6)

  • #5C9F38

    #5C9F38

    oklch(63.6% 0.153 136.4)

  • #0099C4

    #0099C4

    oklch(63.7% 0.122 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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