#AFA1DD

Closest named color: Pale Purple (#B790D4). oklch(74.2% 0.087 294.9), rgb(175, 161, 221).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.96:1
White text2.34:1

Values

HEX#AFA1DD
RGBrgb(175, 161, 221)
HSLhsl(254, 47%, 75%)
OKLCHoklch(74.2% 0.087 294.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 #AFA1DD 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #AFA1DD 8.96:1 AAA Lc 57.8 Large or bold text, headings
#AFA1DD text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#AFA1DD text on black 8.96:1 AAA Lc -55.9 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

    #F6F5FA

    oklch(97.2% 0.007 295.5)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #DAD6EB

    oklch(88.6% 0.029 294.5)

  4. Step 300

    300

    #C2BAE1

    oklch(80.8% 0.055 294.5)

  5. Step 400

    400 (this color)

    #AFA1DD

    oklch(74.2% 0.087 294.9)

  6. Step 500

    500

    #8E7BC5

    oklch(63% 0.111 294.8)

  7. Step 600

    600

    #7963B2

    oklch(55.6% 0.121 295)

  8. Step 700

    700

    #665299

    oklch(49.1% 0.112 294.9)

  9. Step 800

    800

    #53437C

    oklch(42.6% 0.093 295.1)

  10. Step 900

    900

    #443964

    oklch(37.6% 0.073 294.4)

  11. Step 950

    950

    #28223A

    oklch(27.1% 0.044 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1DD 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)#93AAE00.042
Deuteranopia (no green cones)#95A8DB0.039
Tritanopia (no blue cones)#A6ABB60.072
Achromatopsia (no color)#A9A9A90.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1DD

    #AFA1DD

    oklch(74.2% 0.087 294.9)

  • #AAB272

    #AAB272

    oklch(74.2% 0.086 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1DD

    #AFA1DD

    oklch(74.2% 0.087 294.9)

  • #91ABE3

    #91ABE3

    oklch(74.2% 0.086 265.1)

  • #C899CA

    #C899CA

    oklch(74.3% 0.087 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1DD

    #AFA1DD

    oklch(74.2% 0.087 294.9)

  • #C5A86A

    #C5A86A

    oklch(74.3% 0.087 85.3)

  • #89BA8A

    #89BA8A

    oklch(74.1% 0.086 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1DD

    #AFA1DD

    oklch(74.2% 0.087 294.9)

  • #D79D77

    #D79D77

    oklch(74.3% 0.087 54.2)

  • #6CBEA8

    #6CBEA8

    oklch(74.3% 0.087 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1DD

    #AFA1DD

    oklch(74.2% 0.087 294.9)

  • #DD9690

    #DD9690

    oklch(74.2% 0.087 24.7)

  • #AAB272

    #AAB272

    oklch(74.2% 0.086 114.3)

  • #62BCC5

    #62BCC5

    oklch(74.3% 0.087 204)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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