#AF5FAC

Closest named color: Soft Purple (#A66FB5). oklch(60.5% 0.143 328.5), rgb(175, 95, 172).

Aa

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

About this color

#AF5FAC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.143 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.038 away. Black text reads best on it, at 5.05:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.143)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.05:1
White text4.15:1

Values

HEX#AF5FAC
RGBrgb(175, 95, 172)
HSLhsl(302, 33%, 53%)
OKLCHoklch(60.5% 0.143 328.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 #AF5FAC 4.15:1 AA large text Lc -73.8 Content text, not long reading
Black text on #AF5FAC 5.05:1 AA Lc 35.8 Non-text elements, placeholder text
#AF5FAC text on white 4.15:1 AA large text Lc 68.3 Content text, not long reading
#AF5FAC text on black 5.05:1 AA Lc -33.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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D0E6

    oklch(88.4% 0.04 328.5)

  4. Step 300

    300

    #DAB1D7

    oklch(80.9% 0.069 328.6)

  5. Step 400

    400

    #C787C3

    oklch(70.7% 0.111 328.8)

  6. Step 500

    500 (this color)

    #AF5FAC

    oklch(60.5% 0.143 328.5)

  7. Step 600

    600

    #A24CA0

    oklch(55.6% 0.156 328.3)

  8. Step 700

    700

    #8B3C89

    oklch(49.1% 0.146 328.5)

  9. Step 800

    800

    #71336F

    oklch(42.8% 0.119 328.6)

  10. Step 900

    900

    #5C2D5A

    oklch(37.7% 0.094 328.8)

  11. Step 950

    950

    #361B35

    oklch(27.1% 0.06 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FAC 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)#5A76AF0.139
Deuteranopia (no green cones)#7080AA0.125
Tritanopia (no blue cones)#B4667D0.080
Achromatopsia (no color)#7C7C7C0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FAC

    #AF5FAC

    oklch(60.5% 0.143 328.5)

  • #35984E

    #35984E

    oklch(60.4% 0.143 148.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FAC

    #AF5FAC

    oklch(60.5% 0.143 328.5)

  • #8E6CCB

    #8E6CCB

    oklch(60.6% 0.143 298.6)

  • #C35881

    #C35881

    oklch(60.5% 0.143 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FAC

    #AF5FAC

    oklch(60.5% 0.143 328.5)

  • #7A8C00

    #7A8C00

    oklch(60.4% 0.141 118.4)

  • #009782

    #009782

    oklch(60.5% 0.111 178.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FAC

    #AF5FAC

    oklch(60.5% 0.143 328.5)

  • #A07D00

    #A07D00

    oklch(60.6% 0.124 88.9)

  • #0092A3

    #0092A3

    oklch(60.4% 0.104 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FAC

    #AF5FAC

    oklch(60.5% 0.143 328.5)

  • #BF6803

    #BF6803

    oklch(60.5% 0.143 58.4)

  • #35984E

    #35984E

    oklch(60.4% 0.143 148.6)

  • #008BC9

    #008BC9

    oklch(60.5% 0.136 238.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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