#AF5FE5

Closest named color: Lighter Purple (#A55AF4). oklch(63.6% 0.202 309.4), rgb(175, 95, 229).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.202)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.59:1
White text3.75:1

Values

HEX#AF5FE5
RGBrgb(175, 95, 229)
HSLhsl(276, 72%, 64%)
OKLCHoklch(63.6% 0.202 309.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 #AF5FE5 3.75:1 AA large text Lc -70.1 Content text, not long reading
Black text on #AF5FE5 5.59:1 AA Lc 39.5 Non-text elements, placeholder text
#AF5FE5 text on white 3.75:1 AA large text Lc 64.6 Content text, not long reading
#AF5FE5 text on black 5.59:1 AA Lc -37.0 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E4D0F5

    oklch(88.5% 0.054 309.5)

  4. Step 300

    300

    #D4AFF1

    oklch(80.9% 0.099 309.8)

  5. Step 400

    400

    #BE82EA

    oklch(70.7% 0.158 309.5)

  6. Step 500

    500 (this color)

    #AF5FE5

    oklch(63.6% 0.202 309.4)

  7. Step 600

    600

    #993DD1

    oklch(55.5% 0.22 309.4)

  8. Step 700

    700

    #832EB5

    oklch(49.2% 0.204 309.5)

  9. Step 800

    800

    #6A2893

    oklch(42.7% 0.169 309.1)

  10. Step 900

    900

    #562775

    oklch(37.7% 0.132 309.2)

  11. Step 950

    950

    #321844

    oklch(26.9% 0.083 309.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FE5 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)#2C80E90.174
Deuteranopia (no green cones)#4F85E20.154
Tritanopia (no blue cones)#A878990.141
Achromatopsia (no color)#8484840.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FE5

    #AF5FE5

    oklch(63.6% 0.202 309.4)

  • #699D00

    #699D00

    oklch(63.5% 0.169 129.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FE5

    #AF5FE5

    oklch(63.6% 0.202 309.4)

  • #7676FF

    #7676FF

    oklch(63.6% 0.198 279.2)

  • #D54DB2

    #D54DB2

    oklch(63.6% 0.202 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FE5

    #AF5FE5

    oklch(63.6% 0.202 309.4)

  • #9F8B00

    #9F8B00

    oklch(63.5% 0.132 99)

  • #00A56A

    #00A56A

    oklch(63.7% 0.146 159.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FE5

    #AF5FE5

    oklch(63.6% 0.202 309.4)

  • #C07900

    #C07900

    oklch(63.6% 0.139 69.3)

  • #00A099

    #00A099

    oklch(63.6% 0.11 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FE5

    #AF5FE5

    oklch(63.6% 0.202 309.4)

  • #EA5001

    #EA5001

    oklch(63.6% 0.202 39.5)

  • #699D00

    #699D00

    oklch(63.5% 0.169 129.3)

  • #009BBA

    #009BBA

    oklch(63.7% 0.115 218.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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