#AF89E8

Closest named color: Pale Purple (#B790D4). oklch(70.3% 0.14 301.3), rgb(175, 137, 232).

Aa

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

About this color

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

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

Values

HEX#AF89E8
RGBrgb(175, 137, 232)
HSLhsl(264, 67%, 72%)
OKLCHoklch(70.3% 0.14 301.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 #AF89E8 2.77:1 Fails Lc -58.6 Large or bold text, headings
Black text on #AF89E8 7.56:1 AAA Lc 50.6 Large or bold text, headings
#AF89E8 text on white 2.77:1 Fails Lc 53.4 Large or bold text, headings
#AF89E8 text on black 7.56: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

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300

    #CAB4F1

    oklch(80.9% 0.088 301)

  5. Step 400

    400 (this color)

    #AF89E8

    oklch(70.3% 0.14 301.3)

  6. Step 500

    500

    #9E6AE2

    oklch(63.2% 0.178 301.5)

  7. Step 600

    600

    #894DD0

    oklch(55.5% 0.194 301.4)

  8. Step 700

    700

    #743DB4

    oklch(49% 0.18 301.2)

  9. Step 800

    800

    #5F3392

    oklch(42.7% 0.151 301.6)

  10. Step 900

    900

    #4D2E74

    oklch(37.6% 0.117 301.4)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF89E8 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)#709BEC0.091
Deuteranopia (no green cones)#789BE60.085
Tritanopia (no blue cones)#A599AD0.109
Achromatopsia (no color)#9B9B9B0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF89E8

    #AF89E8

    oklch(70.3% 0.14 301.3)

  • #92AC3D

    #92AC3D

    oklch(70.2% 0.14 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF89E8

    #AF89E8

    oklch(70.3% 0.14 301.3)

  • #8099F6

    #8099F6

    oklch(70.4% 0.139 271.1)

  • #D17DC7

    #D17DC7

    oklch(70.4% 0.14 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF89E8

    #AF89E8

    oklch(70.3% 0.14 301.3)

  • #C09B13

    #C09B13

    oklch(70.4% 0.14 91)

  • #52B872

    #52B872

    oklch(70.4% 0.14 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF89E8

    #AF89E8

    oklch(70.3% 0.14 301.3)

  • #DD8935

    #DD8935

    oklch(70.4% 0.14 61.5)

  • #00B9A4

    #00B9A4

    oklch(70.4% 0.127 180.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF89E8

    #AF89E8

    oklch(70.3% 0.14 301.3)

  • #E97B68

    #E97B68

    oklch(70.3% 0.14 31.1)

  • #92AC3D

    #92AC3D

    oklch(70.2% 0.14 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 #AF89E8, closest first.

Similar named colors

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

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