#AF80E5

Closest named color: Light Purple (#BF77F6). oklch(68.6% 0.151 304.2), rgb(175, 128, 229).

Aa

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

About this color

#AF80E5 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.151 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.042 away. Black text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.04:1
White text2.98:1

Values

HEX#AF80E5
RGBrgb(175, 128, 229)
HSLhsl(268, 66%, 70%)
OKLCHoklch(68.6% 0.151 304.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 #AF80E5 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #AF80E5 7.04:1 AAA Lc 47.8 Large or bold text, headings
#AF80E5 text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#AF80E5 text on black 7.04:1 AAA Lc -45.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CEB2F2

    oklch(81% 0.093 304.4)

  5. Step 400

    400 (this color)

    #AF80E5

    oklch(68.6% 0.151 304.2)

  6. Step 500

    500

    #A464E6

    oklch(63.2% 0.193 304.1)

  7. Step 600

    600

    #9046D4

    oklch(55.7% 0.21 304.3)

  8. Step 700

    700

    #7A36B7

    oklch(49.1% 0.194 304.2)

  9. Step 800

    800

    #632E94

    oklch(42.6% 0.161 304.2)

  10. Step 900

    900

    #512B76

    oklch(37.7% 0.125 304.4)

  11. Step 950

    950

    #2F1A45

    oklch(26.9% 0.079 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF80E5 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)#6694E90.106
Deuteranopia (no green cones)#7195E20.097
Tritanopia (no blue cones)#A691A80.113
Achromatopsia (no color)#9595950.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF80E5

    #AF80E5

    oklch(68.6% 0.151 304.2)

  • #87A92F

    #87A92F

    oklch(68.6% 0.151 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF80E5

    #AF80E5

    oklch(68.6% 0.151 304.2)

  • #7F91F6

    #7F91F6

    oklch(68.7% 0.15 274.2)

  • #D173C0

    #D173C0

    oklch(68.6% 0.151 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF80E5

    #AF80E5

    oklch(68.6% 0.151 304.2)

  • #B79800

    #B79800

    oklch(68.8% 0.141 94.3)

  • #37B56E

    #37B56E

    oklch(68.7% 0.151 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF80E5

    #AF80E5

    oklch(68.6% 0.151 304.2)

  • #D98312

    #D98312

    oklch(68.7% 0.151 64.4)

  • #00B2A3

    #00B2A3

    oklch(68.6% 0.121 184.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF80E5

    #AF80E5

    oklch(68.6% 0.151 304.2)

  • #E87358

    #E87358

    oklch(68.7% 0.151 34.2)

  • #87A92F

    #87A92F

    oklch(68.6% 0.151 124)

  • #00ADC8

    #00ADC8

    oklch(68.7% 0.121 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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