#AF5FC0

Closest named color: Amethyst (#9B5FC0). oklch(61.5% 0.163 320.4), rgb(175, 95, 192).

Aa

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

About this color

#AF5FC0 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.163 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.22:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.163)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text5.22:1
White text4.02:1

Values

HEX#AF5FC0
RGBrgb(175, 95, 192)
HSLhsl(289, 43%, 56%)
OKLCHoklch(61.5% 0.163 320.4)

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 #AF5FC0 4.02:1 AA large text Lc -72.6 Content text, not long reading
Black text on #AF5FC0 5.22:1 AA Lc 37.0 Non-text elements, placeholder text
#AF5FC0 text on white 4.02:1 AA large text Lc 67.1 Content text, not long reading
#AF5FC0 text on black 5.22:1 AA Lc -34.5 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

    #D8B0E1

    oklch(80.8% 0.08 320.1)

  5. Step 400

    400

    #C485D1

    oklch(70.7% 0.127 320.6)

  6. Step 500

    500 (this color)

    #AF5FC0

    oklch(61.5% 0.163 320.4)

  7. Step 600

    600

    #9F48B2

    oklch(55.6% 0.177 320.1)

  8. Step 700

    700

    #883899

    oklch(49.1% 0.165 320.2)

  9. Step 800

    800

    #6F307C

    oklch(42.8% 0.136 320.5)

  10. Step 900

    900

    #5A2B64

    oklch(37.7% 0.107 320.4)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FC0 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)#4F79C30.150
Deuteranopia (no green cones)#6782BD0.134
Tritanopia (no blue cones)#B06C870.101
Achromatopsia (no color)#7F7F7F0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FC0

    #AF5FC0

    oklch(61.5% 0.163 320.4)

  • #469B33

    #469B33

    oklch(61.5% 0.163 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FC0

    #AF5FC0

    oklch(61.5% 0.163 320.4)

  • #866FDE

    #866FDE

    oklch(61.5% 0.163 290.3)

  • #CA5492

    #CA5492

    oklch(61.6% 0.164 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FC0

    #AF5FC0

    oklch(61.5% 0.163 320.4)

  • #8A8B00

    #8A8B00

    oklch(61.5% 0.135 110.3)

  • #009C7A

    #009C7A

    oklch(61.6% 0.122 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FC0

    #AF5FC0

    oklch(61.5% 0.163 320.4)

  • #AC7B00

    #AC7B00

    oklch(61.6% 0.127 80.6)

  • #00979E

    #00979E

    oklch(61.5% 0.105 200.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FC0

    #AF5FC0

    oklch(61.5% 0.163 320.4)

  • #CE6100

    #CE6100

    oklch(61.5% 0.162 50.4)

  • #469B33

    #469B33

    oklch(61.5% 0.163 140.2)

  • #0091C0

    #0091C0

    oklch(61.5% 0.123 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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