#AF81EF

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.162 301.6), rgb(175, 129, 239).

Aa

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

About this color

#AF81EF is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.162 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.035 away. Black text reads best on it, at 7.20:1.

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

Values

HEX#AF81EF
RGBrgb(175, 129, 239)
HSLhsl(265, 77%, 72%)
OKLCHoklch(69.3% 0.162 301.6)

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 #AF81EF 2.91:1 Fails Lc -60.6 Content text, not long reading
Black text on #AF81EF 7.20:1 AAA Lc 48.7 Large or bold text, headings
#AF81EF text on white 2.91:1 Fails Lc 55.3 Large or bold text, headings
#AF81EF text on black 7.20:1 AAA Lc -46.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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CCB1F8

    oklch(80.8% 0.102 301.6)

  5. Step 400

    400 (this color)

    #AF81EF

    oklch(69.3% 0.162 301.6)

  6. Step 500

    500

    #A261EF

    oklch(63.1% 0.207 301.9)

  7. Step 600

    600

    #8D42DE

    oklch(55.6% 0.224 301.3)

  8. Step 700

    700

    #7831C0

    oklch(49% 0.209 301.6)

  9. Step 800

    800

    #622B9C

    oklch(42.7% 0.173 301.6)

  10. Step 900

    900

    #50297C

    oklch(37.8% 0.135 301.8)

  11. Step 950

    950

    #2E1948

    oklch(26.9% 0.085 301.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF81EF 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)#6197F30.110
Deuteranopia (no green cones)#6C97EC0.102
Tritanopia (no blue cones)#A394AD0.123
Achromatopsia (no color)#9797970.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF81EF

    #AF81EF

    oklch(69.3% 0.162 301.6)

  • #8DAB17

    #8DAB17

    oklch(69.4% 0.162 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF81EF

    #AF81EF

    oklch(69.3% 0.162 301.6)

  • #7A93FF

    #7A93FF

    oklch(69.3% 0.161 271.8)

  • #D473C9

    #D473C9

    oklch(69.3% 0.161 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF81EF

    #AF81EF

    oklch(69.3% 0.162 301.6)

  • #BC9800

    #BC9800

    oklch(69.3% 0.142 91.8)

  • #37B867

    #37B867

    oklch(69.4% 0.162 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF81EF

    #AF81EF

    oklch(69.3% 0.162 301.6)

  • #E18100

    #E18100

    oklch(69.3% 0.16 61.6)

  • #00B5A2

    #00B5A2

    oklch(69.4% 0.124 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF81EF

    #AF81EF

    oklch(69.3% 0.162 301.6)

  • #EF705A

    #EF705A

    oklch(69.2% 0.161 31.5)

  • #8DAB17

    #8DAB17

    oklch(69.4% 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 #AF81EF, closest first.

Similar named colors

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

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