#AF84EF

Closest named color: Light Purple (#BF77F6). oklch(69.8% 0.157 301), rgb(175, 132, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.157)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.36:1
White text2.84:1

Values

HEX#AF84EF
RGBrgb(175, 132, 239)
HSLhsl(264, 77%, 73%)
OKLCHoklch(69.8% 0.157 301)

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 #AF84EF 2.84:1 Fails Lc -59.7 Large or bold text, headings
Black text on #AF84EF 7.36:1 AAA Lc 49.6 Large or bold text, headings
#AF84EF text on white 2.84:1 Fails Lc 54.4 Large or bold text, headings
#AF84EF text on black 7.36:1 AAA Lc -47.4 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD1F8

    oklch(88.4% 0.055 301.6)

  4. Step 300

    300

    #CBB2F6

    oklch(80.9% 0.098 301.1)

  5. Step 400

    400 (this color)

    #AF84EF

    oklch(69.8% 0.157 301)

  6. Step 500

    500

    #A064ED

    oklch(63.2% 0.2 301)

  7. Step 600

    600

    #8C45DB

    oklch(55.6% 0.217 301.2)

  8. Step 700

    700

    #7735BE

    oklch(49.1% 0.202 301.2)

  9. Step 800

    800

    #602D9A

    oklch(42.6% 0.168 300.8)

  10. Step 900

    900

    #4E2B7A

    oklch(37.7% 0.129 300.7)

  11. Step 950

    950

    #2E1A48

    oklch(27% 0.083 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF84EF 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)#6598F30.104
Deuteranopia (no green cones)#6F98EC0.096
Tritanopia (no blue cones)#A397AE0.122
Achromatopsia (no color)#9999990.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF84EF

    #AF84EF

    oklch(69.8% 0.157 301)

  • #90AC22

    #90AC22

    oklch(69.9% 0.157 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF84EF

    #AF84EF

    oklch(69.8% 0.157 301)

  • #7B96FF

    #7B96FF

    oklch(70% 0.157 271)

  • #D476CA

    #D476CA

    oklch(69.8% 0.157 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF84EF

    #AF84EF

    oklch(69.8% 0.157 301)

  • #BF9900

    #BF9900

    oklch(69.8% 0.143 90.9)

  • #41B869

    #41B869

    oklch(69.7% 0.156 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF84EF

    #AF84EF

    oklch(69.8% 0.157 301)

  • #E28316

    #E28316

    oklch(69.8% 0.157 60.9)

  • #00B7A2

    #00B7A2

    oklch(69.9% 0.126 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF84EF

    #AF84EF

    oklch(69.8% 0.157 301)

  • #EF735F

    #EF735F

    oklch(69.8% 0.157 30.8)

  • #90AC22

    #90AC22

    oklch(69.9% 0.157 121.1)

  • #00B1C8

    #00B1C8

    oklch(69.7% 0.121 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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