#AF96CF

Closest named color: Pale Purple (#B790D4). oklch(71.6% 0.086 304.4), rgb(175, 150, 207).

Aa

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

About this color

#AF96CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.086 and its hue 304°. 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.08:1.

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

Values

HEX#AF96CF
RGBrgb(175, 150, 207)
HSLhsl(266, 37%, 70%)
OKLCHoklch(71.6% 0.086 304.4)

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 #AF96CF 2.59:1 Fails Lc -55.8 Large or bold text, headings
Black text on #AF96CF 8.08:1 AAA Lc 53.3 Large or bold text, headings
#AF96CF text on white 2.59:1 Fails Lc 50.7 Large or bold text, headings
#AF96CF text on black 8.08:1 AAA Lc -51.2 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE7F2

    oklch(93.5% 0.016 306.4)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B9DD

    oklch(81% 0.052 304.1)

  5. Step 400

    400 (this color)

    #AF96CF

    oklch(71.6% 0.086 304.4)

  6. Step 500

    500

    #9878BF

    oklch(63.1% 0.109 304.2)

  7. Step 600

    600

    #8360AB

    oklch(55.6% 0.118 304.4)

  8. Step 700

    700

    #6F4F93

    oklch(49.2% 0.11 304.4)

  9. Step 800

    800

    #5A4177

    oklch(42.7% 0.091 304.2)

  10. Step 900

    900

    #4A3760

    oklch(37.6% 0.072 304.5)

  11. Step 950

    950

    #2B2138

    oklch(27% 0.044 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF96CF 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)#8BA0D10.054
Deuteranopia (no green cones)#90A1CD0.051
Tritanopia (no blue cones)#AA9EAA0.066
Achromatopsia (no color)#A1A1A10.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF96CF

    #AF96CF

    oklch(71.6% 0.086 304.4)

  • #98AD71

    #98AD71

    oklch(71.7% 0.085 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF96CF

    #AF96CF

    oklch(71.6% 0.086 304.4)

  • #939FD9

    #939FD9

    oklch(71.5% 0.086 275)

  • #C58FB9

    #C58FB9

    oklch(71.5% 0.086 334.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF96CF

    #AF96CF

    oklch(71.6% 0.086 304.4)

  • #B4A363

    #B4A363

    oklch(71.6% 0.086 95)

  • #77B38B

    #77B38B

    oklch(71.4% 0.086 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF96CF

    #AF96CF

    oklch(71.6% 0.086 304.4)

  • #C99869

    #C99869

    oklch(71.5% 0.086 64.5)

  • #5FB5A9

    #5FB5A9

    oklch(71.6% 0.086 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF96CF

    #AF96CF

    oklch(71.6% 0.086 304.4)

  • #D3907F

    #D3907F

    oklch(71.6% 0.086 34.8)

  • #98AD71

    #98AD71

    oklch(71.7% 0.085 124.2)

  • #5EB1C4

    #5EB1C4

    oklch(71.5% 0.085 214.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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