#AF5CA1

Closest named color: Soft Purple (#A66FB5). oklch(59.6% 0.139 333.8), rgb(175, 92, 161).

Aa

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

About this color

#AF5CA1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.139 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.048 away. Black text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.86:1
White text4.31:1

Values

HEX#AF5CA1
RGBrgb(175, 92, 161)
HSLhsl(310, 34%, 52%)
OKLCHoklch(59.6% 0.139 333.8)

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 #AF5CA1 4.31:1 AA large text Lc -75.0 Content text, not long reading
Black text on #AF5CA1 4.86:1 AA Lc 34.6 Non-text elements, placeholder text
#AF5CA1 text on white 4.31:1 AA large text Lc 69.5 Content text, not long reading
#AF5CA1 text on black 4.86:1 AA Lc -32.2 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #E9D0E4

    oklch(88.4% 0.038 332.6)

  4. Step 300

    300

    #DCB1D3

    oklch(80.9% 0.067 333.6)

  5. Step 400

    400

    #CA86BD

    oklch(70.7% 0.11 333.8)

  6. Step 500

    500 (this color)

    #AF5CA1

    oklch(59.6% 0.139 333.8)

  7. Step 600

    600

    #A64C97

    oklch(55.7% 0.15 334.2)

  8. Step 700

    700

    #8E3C81

    oklch(49.1% 0.141 334)

  9. Step 800

    800

    #733269

    oklch(42.6% 0.117 333.7)

  10. Step 900

    900

    #5D2D55

    oklch(37.6% 0.09 333.8)

  11. Step 950

    950

    #371B32

    oklch(27.1% 0.057 334)

Export this scale for Tailwind in the Tailwind colors tool

#AF5CA1 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)#5B72A30.140
Deuteranopia (no green cones)#727E9F0.125
Tritanopia (no blue cones)#B661770.071
Achromatopsia (no color)#7A7A7A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5CA1

    #AF5CA1

    oklch(59.6% 0.139 333.8)

  • #229657

    #229657

    oklch(59.6% 0.138 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5CA1

    #AF5CA1

    oklch(59.6% 0.139 333.8)

  • #9167C2

    #9167C2

    oklch(59.5% 0.14 303.8)

  • #C05776

    #C05776

    oklch(59.6% 0.138 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF5CA1

    #AF5CA1

    oklch(59.6% 0.139 333.8)

  • #6E8C19

    #6E8C19

    oklch(59.6% 0.139 124)

  • #009386

    #009386

    oklch(59.6% 0.106 184)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5CA1

    #AF5CA1

    oklch(59.6% 0.139 333.8)

  • #977D00

    #977D00

    oklch(59.7% 0.122 94.3)

  • #008EA5

    #008EA5

    oklch(59.5% 0.105 214.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5CA1

    #AF5CA1

    oklch(59.6% 0.139 333.8)

  • #B56A00

    #B56A00

    oklch(59.5% 0.135 63.8)

  • #229657

    #229657

    oklch(59.6% 0.138 153.9)

  • #1986CB

    #1986CB

    oklch(59.7% 0.139 243.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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