#AF89E7

Closest named color: Pale Purple (#B790D4). oklch(70.3% 0.139 301.6), rgb(175, 137, 231).

Aa

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

About this color

#AF89E7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.139 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.040 away. Black text reads best on it, at 7.55:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.55:1
White text2.77:1

Values

HEX#AF89E7
RGBrgb(175, 137, 231)
HSLhsl(264, 66%, 72%)
OKLCHoklch(70.3% 0.139 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 #AF89E7 2.77:1 Fails Lc -58.7 Large or bold text, headings
Black text on #AF89E7 7.55:1 AAA Lc 50.6 Large or bold text, headings
#AF89E7 text on white 2.77:1 Fails Lc 53.5 Large or bold text, headings
#AF89E7 text on black 7.55:1 AAA Lc -48.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DED2F4

    oklch(88.4% 0.048 301.5)

  4. Step 300

    300

    #CAB4F0

    oklch(80.9% 0.086 301.3)

  5. Step 400

    400 (this color)

    #AF89E7

    oklch(70.3% 0.139 301.6)

  6. Step 500

    500

    #9E6AE1

    oklch(63.1% 0.176 301.7)

  7. Step 600

    600

    #894ECF

    oklch(55.6% 0.192 301.5)

  8. Step 700

    700

    #753DB3

    oklch(49.1% 0.179 301.9)

  9. Step 800

    800

    #5F3491

    oklch(42.8% 0.148 301.7)

  10. Step 900

    900

    #4D2F74

    oklch(37.8% 0.115 301.1)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF89E7 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)#719AEB0.089
Deuteranopia (no green cones)#799BE50.084
Tritanopia (no blue cones)#A599AD0.108
Achromatopsia (no color)#9B9B9B0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF89E7

    #AF89E7

    oklch(70.3% 0.139 301.6)

  • #92AC3E

    #92AC3E

    oklch(70.3% 0.139 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF89E7

    #AF89E7

    oklch(70.3% 0.139 301.6)

  • #8198F5

    #8198F5

    oklch(70.2% 0.139 271.9)

  • #D07DC6

    #D07DC6

    oklch(70.2% 0.138 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF89E7

    #AF89E7

    oklch(70.3% 0.139 301.6)

  • #BF9B17

    #BF9B17

    oklch(70.3% 0.139 91.4)

  • #52B772

    #52B772

    oklch(70.2% 0.139 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF89E7

    #AF89E7

    oklch(70.3% 0.139 301.6)

  • #DC8936

    #DC8936

    oklch(70.3% 0.139 61.6)

  • #00B8A5

    #00B8A5

    oklch(70.2% 0.126 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF89E7

    #AF89E7

    oklch(70.3% 0.139 301.6)

  • #E87B68

    #E87B68

    oklch(70.2% 0.139 31.2)

  • #92AC3E

    #92AC3E

    oklch(70.3% 0.139 121.4)

  • #00B3CB

    #00B3CB

    oklch(70.3% 0.122 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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