#AF85FC

Closest named color: Light Purple (#BF77F6). oklch(70.7% 0.172 298.2), rgb(175, 133, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.58:1
White text2.76:1

Values

HEX#AF85FC
RGBrgb(175, 133, 252)
HSLhsl(261, 95%, 75%)
OKLCHoklch(70.7% 0.172 298.2)

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 #AF85FC 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #AF85FC 7.58:1 AAA Lc 50.8 Large or bold text, headings
#AF85FC text on white 2.76:1 Fails Lc 53.2 Large or bold text, headings
#AF85FC text on black 7.58:1 AAA Lc -48.6 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

    #DDD1FC

    oklch(88.4% 0.06 297.9)

  4. Step 300

    300

    #C9B2FD

    oklch(81% 0.107 298.1)

  5. Step 400

    400 (this color)

    #AF85FC

    oklch(70.7% 0.172 298.2)

  6. Step 500

    500

    #9D60F9

    oklch(63.1% 0.219 298.2)

  7. Step 600

    600

    #893EE8

    oklch(55.5% 0.238 298.2)

  8. Step 700

    700

    #752ECA

    oklch(49.1% 0.222 298.3)

  9. Step 800

    800

    #5F29A3

    oklch(42.7% 0.183 298.4)

  10. Step 900

    900

    #4D2882

    oklch(37.7% 0.144 298)

  11. Step 950

    950

    #2D194C

    oklch(27.1% 0.091 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF85FC 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)#5E9BFF0.110
Deuteranopia (no green cones)#689AF90.102
Tritanopia (no blue cones)#9F9BB50.134
Achromatopsia (no color)#9B9B9B0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF85FC

    #AF85FC

    oklch(70.7% 0.172 298.2)

  • #98AD00

    #98AD00

    oklch(70.6% 0.165 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF85FC

    #AF85FC

    oklch(70.7% 0.172 298.2)

  • #789AFF

    #789AFF

    oklch(70.6% 0.153 268.3)

  • #D875D6

    #D875D6

    oklch(70.7% 0.172 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF85FC

    #AF85FC

    oklch(70.7% 0.172 298.2)

  • #C69A00

    #C69A00

    oklch(70.7% 0.145 88.1)

  • #41BD5F

    #41BD5F

    oklch(70.8% 0.172 148.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF85FC

    #AF85FC

    oklch(70.7% 0.172 298.2)

  • #EC8100

    #EC8100

    oklch(70.8% 0.169 58.2)

  • #00BAA1

    #00BAA1

    oklch(70.6% 0.129 178.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF85FC

    #AF85FC

    oklch(70.7% 0.172 298.2)

  • #F96F61

    #F96F61

    oklch(70.6% 0.172 28.1)

  • #98AD00

    #98AD00

    oklch(70.6% 0.165 118.1)

  • #00B5C8

    #00B5C8

    oklch(70.7% 0.122 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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