#AFA2DC

Closest named color: Pale Purple (#B790D4). oklch(74.4% 0.084 294.6), rgb(175, 162, 220).

Aa

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

About this color

#AFA2DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.084 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.045 away. Black text reads best on it, at 9.02:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.02:1
White text2.32:1

Values

HEX#AFA2DC
RGBrgb(175, 162, 220)
HSLhsl(253, 45%, 75%)
OKLCHoklch(74.4% 0.084 294.6)

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 #AFA2DC 2.32:1 Fails Lc -50.8 Large or bold text, headings
Black text on #AFA2DC 9.02:1 AAA Lc 58.1 Large or bold text, headings
#AFA2DC text on white 2.32:1 Fails Lc 45.9 Large or bold text, headings
#AFA2DC text on black 9.02:1 AAA Lc -56.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DAD6EB

    oklch(88.6% 0.029 294.5)

  4. Step 300

    300

    #C2BBE0

    oklch(81% 0.052 293.9)

  5. Step 400

    400 (this color)

    #AFA2DC

    oklch(74.4% 0.084 294.6)

  6. Step 500

    500

    #8E7CC3

    oklch(63.1% 0.106 294.8)

  7. Step 600

    600

    #7864B0

    oklch(55.6% 0.116 294.4)

  8. Step 700

    700

    #655397

    oklch(49.1% 0.107 294.3)

  9. Step 800

    800

    #53447B

    oklch(42.8% 0.09 294.9)

  10. Step 900

    900

    #443A63

    oklch(37.8% 0.069 294)

  11. Step 950

    950

    #28223A

    oklch(27.1% 0.044 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2DC 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)#95AADE0.039
Deuteranopia (no green cones)#96A9DA0.038
Tritanopia (no blue cones)#A6ABB60.069
Achromatopsia (no color)#AAAAAA0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2DC

    #AFA2DC

    oklch(74.4% 0.084 294.6)

  • #AAB375

    #AAB375

    oklch(74.5% 0.084 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2DC

    #AFA2DC

    oklch(74.4% 0.084 294.6)

  • #92ACE2

    #92ACE2

    oklch(74.5% 0.084 264.5)

  • #C79ACA

    #C79ACA

    oklch(74.4% 0.084 324.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2DC

    #AFA2DC

    oklch(74.4% 0.084 294.6)

  • #C5A86E

    #C5A86E

    oklch(74.4% 0.083 84)

  • #8BBA8B

    #8BBA8B

    oklch(74.3% 0.083 144.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2DC

    #AFA2DC

    oklch(74.4% 0.084 294.6)

  • #D69E79

    #D69E79

    oklch(74.4% 0.084 54.5)

  • #70BEA9

    #70BEA9

    oklch(74.5% 0.084 174.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2DC

    #AFA2DC

    oklch(74.4% 0.084 294.6)

  • #DC9892

    #DC9892

    oklch(74.5% 0.083 24.8)

  • #AAB375

    #AAB375

    oklch(74.5% 0.084 115.2)

  • #66BCC5

    #66BCC5

    oklch(74.5% 0.084 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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