#AF5DC1

Closest named color: Amethyst (#9B5FC0). oklch(61.3% 0.167 320.2), rgb(175, 93, 193).

Aa

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

About this color

#AF5DC1 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.167 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.036 away. Black text reads best on it, at 5.15:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.167)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text5.15:1
White text4.07:1

Values

HEX#AF5DC1
RGBrgb(175, 93, 193)
HSLhsl(289, 45%, 56%)
OKLCHoklch(61.3% 0.167 320.2)

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 #AF5DC1 4.07:1 AA large text Lc -73.0 Content text, not long reading
Black text on #AF5DC1 5.15:1 AA Lc 36.6 Non-text elements, placeholder text
#AF5DC1 text on white 4.07:1 AA large text Lc 67.5 Content text, not long reading
#AF5DC1 text on black 5.15:1 AA Lc -34.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D9B0E2

    oklch(81% 0.082 320.2)

  5. Step 400

    400

    #C584D3

    oklch(70.7% 0.132 320.3)

  6. Step 500

    500 (this color)

    #AF5DC1

    oklch(61.3% 0.167 320.2)

  7. Step 600

    600

    #A046B3

    oklch(55.5% 0.182 320.3)

  8. Step 700

    700

    #89379A

    oklch(49.1% 0.168 320.4)

  9. Step 800

    800

    #6F2E7D

    oklch(42.6% 0.14 320.2)

  10. Step 900

    900

    #5A2A65

    oklch(37.6% 0.11 319.9)

  11. Step 950

    950

    #351A3B

    oklch(27.1% 0.068 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF5DC1 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)#4B78C40.155
Deuteranopia (no green cones)#6581BE0.138
Tritanopia (no blue cones)#B06B860.105
Achromatopsia (no color)#7E7E7E0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5DC1

    #AF5DC1

    oklch(61.3% 0.167 320.2)

  • #439B2E

    #439B2E

    oklch(61.3% 0.168 140.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5DC1

    #AF5DC1

    oklch(61.3% 0.167 320.2)

  • #856DE0

    #856DE0

    oklch(61.2% 0.168 290.1)

  • #CA5292

    #CA5292

    oklch(61.3% 0.167 350)

Open the analogous palette in the generator

Split complementary

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

  • #AF5DC1

    #AF5DC1

    oklch(61.3% 0.167 320.2)

  • #898A00

    #898A00

    oklch(61.2% 0.134 110.3)

  • #009B79

    #009B79

    oklch(61.3% 0.121 170.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5DC1

    #AF5DC1

    oklch(61.3% 0.167 320.2)

  • #AB7A00

    #AB7A00

    oklch(61.3% 0.127 80.4)

  • #00969D

    #00969D

    oklch(61.2% 0.104 200.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5DC1

    #AF5DC1

    oklch(61.3% 0.167 320.2)

  • #CD6000

    #CD6000

    oklch(61.2% 0.161 50.2)

  • #439B2E

    #439B2E

    oklch(61.3% 0.168 140.1)

  • #0090BF

    #0090BF

    oklch(61.2% 0.122 230.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF5DC1.

Similar named colors

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

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