#AF98DB

Closest named color: Pale Purple (#B790D4). oklch(72.4% 0.098 299.7), rgb(175, 152, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.33:1
White text2.51:1

Values

HEX#AF98DB
RGBrgb(175, 152, 219)
HSLhsl(261, 48%, 73%)
OKLCHoklch(72.4% 0.098 299.7)

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 #AF98DB 2.51:1 Fails Lc -54.5 Large or bold text, headings
Black text on #AF98DB 8.33:1 AAA Lc 54.6 Large or bold text, headings
#AF98DB text on white 2.51:1 Fails Lc 49.4 Large or bold text, headings
#AF98DB text on black 8.33:1 AAA Lc -52.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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE7F4

    oklch(93.5% 0.018 300.1)

  3. Step 200

    200

    #DCD5ED

    oklch(88.6% 0.033 299)

  4. Step 300

    300

    #C6B8E3

    oklch(80.8% 0.062 299.9)

  5. Step 400

    400 (this color)

    #AF98DB

    oklch(72.4% 0.098 299.7)

  6. Step 500

    500

    #9577CA

    oklch(63.2% 0.125 299.5)

  7. Step 600

    600

    #805EB7

    oklch(55.7% 0.137 299.6)

  8. Step 700

    700

    #6C4D9D

    oklch(49.1% 0.126 299.6)

  9. Step 800

    800

    #583F80

    oklch(42.6% 0.107 299.6)

  10. Step 900

    900

    #483666

    oklch(37.6% 0.082 299.8)

  11. Step 950

    950

    #2A203C

    oklch(26.9% 0.052 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF98DB 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)#89A3DE0.056
Deuteranopia (no green cones)#8DA3D90.053
Tritanopia (no blue cones)#A7A2B00.078
Achromatopsia (no color)#A3A3A30.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF98DB

    #AF98DB

    oklch(72.4% 0.098 299.7)

  • #9EAF67

    #9EAF67

    oklch(72.4% 0.098 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF98DB

    #AF98DB

    oklch(72.4% 0.098 299.7)

  • #8DA3E4

    #8DA3E4

    oklch(72.4% 0.098 269.5)

  • #C98FC4

    #C98FC4

    oklch(72.4% 0.099 329.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF98DB

    #AF98DB

    oklch(72.4% 0.098 299.7)

  • #BEA35A

    #BEA35A

    oklch(72.4% 0.098 89.6)

  • #78B885

    #78B885

    oklch(72.6% 0.099 149.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF98DB

    #AF98DB

    oklch(72.4% 0.098 299.7)

  • #D49765

    #D49765

    oklch(72.5% 0.099 59.7)

  • #56BAA8

    #56BAA8

    oklch(72.4% 0.098 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF98DB

    #AF98DB

    oklch(72.4% 0.098 299.7)

  • #DD8E81

    #DD8E81

    oklch(72.4% 0.099 29.8)

  • #9EAF67

    #9EAF67

    oklch(72.4% 0.098 119.8)

  • #4EB7C8

    #4EB7C8

    oklch(72.5% 0.099 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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