#AF80EF

Closest named color: Light Purple (#BF77F6). oklch(69.2% 0.163 301.8), rgb(175, 128, 239).

Aa

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

About this color

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

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

Values

HEX#AF80EF
RGBrgb(175, 128, 239)
HSLhsl(265, 78%, 72%)
OKLCHoklch(69.2% 0.163 301.8)

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 #AF80EF 2.93:1 Fails Lc -60.9 Content text, not long reading
Black text on #AF80EF 7.15:1 AAA Lc 48.5 Large or bold text, headings
#AF80EF text on white 2.93:1 Fails Lc 55.6 Large or bold text, headings
#AF80EF text on black 7.15:1 AAA Lc -46.2 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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CCB1F8

    oklch(80.8% 0.102 301.6)

  5. Step 400

    400 (this color)

    #AF80EF

    oklch(69.2% 0.163 301.8)

  6. Step 500

    500

    #A261F0

    oklch(63.1% 0.208 301.7)

  7. Step 600

    600

    #8E40DE

    oklch(55.5% 0.227 301.9)

  8. Step 700

    700

    #7930C1

    oklch(49.1% 0.211 301.8)

  9. Step 800

    800

    #622A9C

    oklch(42.6% 0.175 301.7)

  10. Step 900

    900

    #50297C

    oklch(37.8% 0.135 301.8)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF80EF 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)#5F96F30.113
Deuteranopia (no green cones)#6B96EC0.103
Tritanopia (no blue cones)#A394AC0.126
Achromatopsia (no color)#9797970.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF80EF

    #AF80EF

    oklch(69.2% 0.163 301.8)

  • #8CAA13

    #8CAA13

    oklch(69.1% 0.162 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF80EF

    #AF80EF

    oklch(69.2% 0.163 301.8)

  • #7992FF

    #7992FF

    oklch(69.1% 0.162 271.8)

  • #D472C8

    #D472C8

    oklch(69.1% 0.162 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF80EF

    #AF80EF

    oklch(69.2% 0.163 301.8)

  • #BC9800

    #BC9800

    oklch(69.3% 0.142 91.8)

  • #33B866

    #33B866

    oklch(69.3% 0.164 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF80EF

    #AF80EF

    oklch(69.2% 0.163 301.8)

  • #E08100

    #E08100

    oklch(69.2% 0.159 61.9)

  • #00B4A1

    #00B4A1

    oklch(69.1% 0.124 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF80EF

    #AF80EF

    oklch(69.2% 0.163 301.8)

  • #EF6F58

    #EF6F58

    oklch(69.1% 0.163 31.9)

  • #8CAA13

    #8CAA13

    oklch(69.1% 0.162 121.7)

  • #00AFC7

    #00AFC7

    oklch(69.2% 0.121 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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