#AF59EC

Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.218 308.3), rgb(175, 89, 236).

Aa

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

About this color

#AF59EC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.218 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.022 away. Black text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.218)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.46:1
White text3.84:1

Values

HEX#AF59EC
RGBrgb(175, 89, 236)
HSLhsl(275, 79%, 64%)
OKLCHoklch(63.2% 0.218 308.3)

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 #AF59EC 3.84:1 AA large text Lc -70.8 Content text, not long reading
Black text on #AF59EC 5.46:1 AA Lc 38.8 Non-text elements, placeholder text
#AF59EC text on white 3.84:1 AA large text Lc 65.3 Content text, not long reading
#AF59EC text on black 5.46:1 AA Lc -36.3 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E4CFF8

    oklch(88.5% 0.06 308.2)

  4. Step 300

    300

    #D4AEF6

    oklch(80.9% 0.107 308.2)

  5. Step 400

    400

    #BF7FF1

    oklch(70.7% 0.171 308.5)

  6. Step 500

    500 (this color)

    #AF59EC

    oklch(63.2% 0.218 308.3)

  7. Step 600

    600

    #9A35DA

    oklch(55.5% 0.237 308.2)

  8. Step 700

    700

    #8425BD

    oklch(49.1% 0.22 308.3)

  9. Step 800

    800

    #6B2299

    oklch(42.7% 0.183 308.2)

  10. Step 900

    900

    #57247A

    oklch(37.8% 0.142 308.2)

  11. Step 950

    950

    #331647

    oklch(26.9% 0.09 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF59EC 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)#007FF10.190
Deuteranopia (no green cones)#4183E90.168
Tritanopia (no blue cones)#A6779B0.153
Achromatopsia (no color)#8282820.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF59EC

    #AF59EC

    oklch(63.2% 0.218 308.3)

  • #6B9B00

    #6B9B00

    oklch(63.1% 0.166 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF59EC

    #AF59EC

    oklch(63.2% 0.218 308.3)

  • #7375FF

    #7375FF

    oklch(63.3% 0.2 278.4)

  • #D744B6

    #D744B6

    oklch(63.2% 0.218 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF59EC

    #AF59EC

    oklch(63.2% 0.218 308.3)

  • #9F8A00

    #9F8A00

    oklch(63.3% 0.131 98.4)

  • #00A467

    #00A467

    oklch(63.3% 0.147 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF59EC

    #AF59EC

    oklch(63.2% 0.218 308.3)

  • #BF7700

    #BF7700

    oklch(63.2% 0.138 68.4)

  • #009F97

    #009F97

    oklch(63.3% 0.11 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF59EC

    #AF59EC

    oklch(63.2% 0.218 308.3)

  • #EA4C00

    #EA4C00

    oklch(63.2% 0.205 38.5)

  • #6B9B00

    #6B9B00

    oklch(63.1% 0.166 128.3)

  • #009AB8

    #009AB8

    oklch(63.4% 0.114 218.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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