#AF84F7

Closest named color: Light Purple (#BF77F6). oklch(70.3% 0.167 299.3), rgb(175, 132, 247).

Aa

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

About this color

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

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

Values

HEX#AF84F7
RGBrgb(175, 132, 247)
HSLhsl(262, 88%, 74%)
OKLCHoklch(70.3% 0.167 299.3)

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 #AF84F7 2.81:1 Fails Lc -59.1 Large or bold text, headings
Black text on #AF84F7 7.46:1 AAA Lc 50.2 Large or bold text, headings
#AF84F7 text on white 2.81:1 Fails Lc 53.9 Large or bold text, headings
#AF84F7 text on black 7.46:1 AAA Lc -48.0 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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB2FB

    oklch(81% 0.104 299.2)

  5. Step 400

    400 (this color)

    #AF84F7

    oklch(70.3% 0.167 299.3)

  6. Step 500

    500

    #9E61F5

    oklch(63.1% 0.213 299.2)

  7. Step 600

    600

    #8A40E4

    oklch(55.5% 0.232 299.2)

  8. Step 700

    700

    #7630C6

    oklch(49.1% 0.216 299.4)

  9. Step 800

    800

    #602AA0

    oklch(42.7% 0.179 299.6)

  10. Step 900

    900

    #4E297F

    oklch(37.8% 0.139 299.4)

  11. Step 950

    950

    #2D194A

    oklch(26.9% 0.088 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF84F7 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)#609AFB0.109
Deuteranopia (no green cones)#6A99F40.101
Tritanopia (no blue cones)#A199B20.130
Achromatopsia (no color)#9A9A9A0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF84F7

    #AF84F7

    oklch(70.3% 0.167 299.3)

  • #94AD00

    #94AD00

    oklch(70.3% 0.166 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF84F7

    #AF84F7

    oklch(70.3% 0.167 299.3)

  • #7998FF

    #7998FF

    oklch(70.2% 0.155 269.5)

  • #D775D1

    #D775D1

    oklch(70.3% 0.167 329.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF84F7

    #AF84F7

    oklch(70.3% 0.167 299.3)

  • #C39900

    #C39900

    oklch(70.2% 0.143 88.9)

  • #3FBB63

    #3FBB63

    oklch(70.3% 0.167 149.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF84F7

    #AF84F7

    oklch(70.3% 0.167 299.3)

  • #E88100

    #E88100

    oklch(70.2% 0.166 59.4)

  • #00B9A1

    #00B9A1

    oklch(70.4% 0.129 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF84F7

    #AF84F7

    oklch(70.3% 0.167 299.3)

  • #F5705F

    #F5705F

    oklch(70.2% 0.167 29.3)

  • #94AD00

    #94AD00

    oklch(70.3% 0.166 119.5)

  • #00B3C8

    #00B3C8

    oklch(70.2% 0.121 209.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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