#AF98BF

Closest named color: Pale Purple (#B790D4). oklch(71.3% 0.061 311.3), rgb(175, 152, 191).

Aa

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

About this color

#AF98BF is a medium-light, muted purple. In OKLCH its lightness is 71%, its chroma 0.061 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.044 away. Black text reads best on it, at 8.06:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamuted (0.061)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.06:1
White text2.60:1

Values

HEX#AF98BF
RGBrgb(175, 152, 191)
HSLhsl(275, 23%, 67%)
OKLCHoklch(71.3% 0.061 311.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 #AF98BF 2.60:1 Fails Lc -56.0 Large or bold text, headings
Black text on #AF98BF 8.06:1 AAA Lc 53.2 Large or bold text, headings
#AF98BF text on white 2.60:1 Fails Lc 50.8 Large or bold text, headings
#AF98BF text on black 8.06:1 AAA Lc -51.1 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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #C9BAD3

    oklch(80.9% 0.038 312)

  5. Step 400

    400 (this color)

    #AF98BF

    oklch(71.3% 0.061 311.3)

  6. Step 500

    500

    #997CAC

    oklch(63.1% 0.078 311.6)

  7. Step 600

    600

    #846598

    oklch(55.7% 0.085 311.5)

  8. Step 700

    700

    #6F5382

    oklch(49% 0.08 310.9)

  9. Step 800

    800

    #5B4469

    oklch(42.6% 0.066 312.1)

  10. Step 900

    900

    #4A3A56

    oklch(37.7% 0.051 310.1)

  11. Step 950

    950

    #2C2232

    oklch(27.1% 0.032 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF98BF 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)#929FC10.043
Deuteranopia (no green cones)#97A1BE0.040
Tritanopia (no blue cones)#AE9DA50.045
Achromatopsia (no color)#A0A0A00.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF98BF

    #AF98BF

    oklch(71.3% 0.061 311.3)

  • #95AB83

    #95AB83

    oklch(71.4% 0.061 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF98BF

    #AF98BF

    oklch(71.3% 0.061 311.3)

  • #9B9EC9

    #9B9EC9

    oklch(71.2% 0.063 281.6)

  • #BE94AE

    #BE94AE

    oklch(71.4% 0.061 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF98BF

    #AF98BF

    oklch(71.3% 0.061 311.3)

  • #AAA478

    #AAA478

    oklch(71.3% 0.061 101.2)

  • #80AF96

    #80AF96

    oklch(71.3% 0.062 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF98BF

    #AF98BF

    oklch(71.3% 0.061 311.3)

  • #BB9D79

    #BB9D79

    oklch(71.4% 0.061 71.7)

  • #74AFAC

    #74AFAC

    oklch(71.3% 0.061 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF98BF

    #AF98BF

    oklch(71.3% 0.061 311.3)

  • #C59685

    #C59685

    oklch(71.3% 0.062 40.8)

  • #95AB83

    #95AB83

    oklch(71.4% 0.061 131.3)

  • #77ACBE

    #77ACBE

    oklch(71.4% 0.062 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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