#AF89EA

Closest named color: Pale Purple (#B790D4). oklch(70.4% 0.143 300.9), rgb(175, 137, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.143)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.58:1
White text2.76:1

Values

HEX#AF89EA
RGBrgb(175, 137, 234)
HSLhsl(264, 70%, 73%)
OKLCHoklch(70.4% 0.143 300.9)

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

    #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

    #CAB4F2

    oklch(81% 0.089 300.7)

  5. Step 400

    400 (this color)

    #AF89EA

    oklch(70.4% 0.143 300.9)

  6. Step 500

    500

    #9D69E4

    oklch(63.1% 0.181 300.8)

  7. Step 600

    600

    #894CD2

    oklch(55.5% 0.198 301.1)

  8. Step 700

    700

    #743CB6

    oklch(49% 0.184 300.8)

  9. Step 800

    800

    #5E3393

    oklch(42.6% 0.152 300.7)

  10. Step 900

    900

    #4D2E76

    oklch(37.7% 0.119 300.7)

  11. Step 950

    950

    #2D1C45

    oklch(27.1% 0.075 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF89EA 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)#6F9BEE0.092
Deuteranopia (no green cones)#779BE70.086
Tritanopia (no blue cones)#A499AE0.110
Achromatopsia (no color)#9B9B9B0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF89EA

    #AF89EA

    oklch(70.4% 0.143 300.9)

  • #93AD39

    #93AD39

    oklch(70.5% 0.143 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF89EA

    #AF89EA

    oklch(70.4% 0.143 300.9)

  • #7F99F8

    #7F99F8

    oklch(70.4% 0.142 270.8)

  • #D17DC8

    #D17DC8

    oklch(70.4% 0.141 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF89EA

    #AF89EA

    oklch(70.4% 0.143 300.9)

  • #C19B08

    #C19B08

    oklch(70.4% 0.143 90.9)

  • #52B870

    #52B870

    oklch(70.4% 0.142 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF89EA

    #AF89EA

    oklch(70.4% 0.143 300.9)

  • #DE8833

    #DE8833

    oklch(70.3% 0.142 60.9)

  • #00B9A4

    #00B9A4

    oklch(70.4% 0.127 180.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF89EA

    #AF89EA

    oklch(70.4% 0.143 300.9)

  • #EB7A68

    #EB7A68

    oklch(70.4% 0.143 30.4)

  • #93AD39

    #93AD39

    oklch(70.5% 0.143 121.1)

  • #00B3CA

    #00B3CA

    oklch(70.3% 0.122 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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