#AF84FA

Closest named color: Light Purple (#BF77F6). oklch(70.4% 0.171 298.8), rgb(175, 132, 250).

Aa

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

About this color

#AF84FA is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.171 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.036 away. Black text reads best on it, at 7.50:1.

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

Values

HEX#AF84FA
RGBrgb(175, 132, 250)
HSLhsl(262, 92%, 75%)
OKLCHoklch(70.4% 0.171 298.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 #AF84FA 2.79:1 Fails Lc -58.9 Large or bold text, headings
Black text on #AF84FA 7.50:1 AAA Lc 50.4 Large or bold text, headings
#AF84FA text on white 2.79:1 Fails Lc 53.7 Large or bold text, headings
#AF84FA text on black 7.50:1 AAA Lc -48.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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FC

    oklch(88.5% 0.06 299)

  4. Step 300

    300

    #CAB1FC

    oklch(80.8% 0.107 299.3)

  5. Step 400

    400 (this color)

    #AF84FA

    oklch(70.4% 0.171 298.8)

  6. Step 500

    500

    #9E60F8

    oklch(63.1% 0.218 298.8)

  7. Step 600

    600

    #8A3FE7

    oklch(55.6% 0.236 298.7)

  8. Step 700

    700

    #762EC9

    oklch(49.2% 0.221 298.9)

  9. Step 800

    800

    #5F29A2

    oklch(42.7% 0.182 298.6)

  10. Step 900

    900

    #4E2881

    oklch(37.8% 0.143 299)

  11. Step 950

    950

    #2D194B

    oklch(27% 0.089 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF84FA 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)#5E9AFE0.111
Deuteranopia (no green cones)#6899F70.103
Tritanopia (no blue cones)#A09AB30.134
Achromatopsia (no color)#9A9A9A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF84FA

    #AF84FA

    oklch(70.4% 0.171 298.8)

  • #96AD00

    #96AD00

    oklch(70.5% 0.165 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF84FA

    #AF84FA

    oklch(70.4% 0.171 298.8)

  • #7899FF

    #7899FF

    oklch(70.4% 0.154 268.7)

  • #D874D4

    #D874D4

    oklch(70.4% 0.172 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF84FA

    #AF84FA

    oklch(70.4% 0.171 298.8)

  • #C49900

    #C49900

    oklch(70.3% 0.144 88.5)

  • #3EBC60

    #3EBC60

    oklch(70.5% 0.171 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF84FA

    #AF84FA

    oklch(70.4% 0.171 298.8)

  • #EA8100

    #EA8100

    oklch(70.5% 0.167 58.8)

  • #00B9A1

    #00B9A1

    oklch(70.4% 0.129 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF84FA

    #AF84FA

    oklch(70.4% 0.171 298.8)

  • #F86F5F

    #F86F5F

    oklch(70.5% 0.171 28.8)

  • #96AD00

    #96AD00

    oklch(70.5% 0.165 118.8)

  • #00B4C8

    #00B4C8

    oklch(70.5% 0.121 208.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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