#AFA1DE

Closest named color: Pale Purple (#B790D4). oklch(74.3% 0.088 294.7), rgb(175, 161, 222).

Aa

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

About this color

#AFA1DE is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.088 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.97:1.

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

Values

HEX#AFA1DE
RGBrgb(175, 161, 222)
HSLhsl(254, 48%, 75%)
OKLCHoklch(74.3% 0.088 294.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 #AFA1DE 2.33:1 Fails Lc -51.0 Large or bold text, headings
Black text on #AFA1DE 8.97:1 AAA Lc 57.9 Large or bold text, headings
#AFA1DE text on white 2.33:1 Fails Lc 46.1 Large or bold text, headings
#AFA1DE text on black 8.97:1 AAA Lc -56.0 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

    #DAD6EC

    oklch(88.6% 0.03 294.1)

  4. Step 300

    300

    #C2BAE1

    oklch(80.8% 0.055 294.5)

  5. Step 400

    400 (this color)

    #AFA1DE

    oklch(74.3% 0.088 294.7)

  6. Step 500

    500

    #8E7BC6

    oklch(63.1% 0.112 294.6)

  7. Step 600

    600

    #7963B3

    oklch(55.6% 0.122 294.8)

  8. Step 700

    700

    #66529A

    oklch(49.2% 0.113 294.7)

  9. Step 800

    800

    #53437D

    oklch(42.7% 0.095 294.8)

  10. Step 900

    900

    #443964

    oklch(37.6% 0.073 294.4)

  11. Step 950

    950

    #28223B

    oklch(27.1% 0.046 294.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA1DE 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)#93AAE10.042
Deuteranopia (no green cones)#94A9DC0.041
Tritanopia (no blue cones)#A6ABB60.074
Achromatopsia (no color)#A9A9A90.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA1DE

    #AFA1DE

    oklch(74.3% 0.088 294.7)

  • #AAB371

    #AAB371

    oklch(74.4% 0.089 114.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA1DE

    #AFA1DE

    oklch(74.3% 0.088 294.7)

  • #90ABE4

    #90ABE4

    oklch(74.2% 0.088 264.7)

  • #C899CB

    #C899CB

    oklch(74.3% 0.088 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA1DE

    #AFA1DE

    oklch(74.3% 0.088 294.7)

  • #C5A869

    #C5A869

    oklch(74.3% 0.088 85.6)

  • #89BB89

    #89BB89

    oklch(74.3% 0.088 144.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA1DE

    #AFA1DE

    oklch(74.3% 0.088 294.7)

  • #D89D76

    #D89D76

    oklch(74.3% 0.088 54.4)

  • #6BBEA8

    #6BBEA8

    oklch(74.2% 0.088 174.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA1DE

    #AFA1DE

    oklch(74.3% 0.088 294.7)

  • #DE9690

    #DE9690

    oklch(74.3% 0.088 24.7)

  • #AAB371

    #AAB371

    oklch(74.4% 0.089 114.9)

  • #61BCC6

    #61BCC6

    oklch(74.3% 0.088 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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