#AFA2DD

Closest named color: Pale Purple (#B790D4). oklch(74.4% 0.085 294.3), rgb(175, 162, 221).

Aa

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

About this color

#AFA2DD is a medium-light, moderately saturated purple. In OKLCH its lightness is 74%, its chroma 0.085 and its hue 294°. 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.03:1.

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

Values

HEX#AFA2DD
RGBrgb(175, 162, 221)
HSLhsl(253, 46%, 75%)
OKLCHoklch(74.4% 0.085 294.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 #AFA2DD 2.32:1 Fails Lc -50.7 Large or bold text, headings
Black text on #AFA2DD 9.03:1 AAA Lc 58.2 Large or bold text, headings
#AFA2DD text on white 2.32:1 Fails Lc 45.8 Large or bold text, headings
#AFA2DD text on black 9.03:1 AAA Lc -56.3 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)

    #AFA2DD

    oklch(74.4% 0.085 294.3)

  6. Step 500

    500

    #8E7CC4

    oklch(63.2% 0.108 294.6)

  7. Step 600

    600

    #7864B1

    oklch(55.6% 0.118 294.2)

  8. Step 700

    700

    #655298

    oklch(49% 0.11 294.5)

  9. Step 800

    800

    #52447B

    oklch(42.7% 0.09 294)

  10. Step 900

    900

    #443963

    oklch(37.6% 0.071 294.8)

  11. Step 950

    950

    #28223A

    oklch(27.1% 0.044 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2DD 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)#94ABDF0.041
Deuteranopia (no green cones)#96A9DB0.038
Tritanopia (no blue cones)#A6ABB70.069
Achromatopsia (no color)#AAAAAA0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2DD

    #AFA2DD

    oklch(74.4% 0.085 294.3)

  • #ABB374

    #ABB374

    oklch(74.5% 0.085 114.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2DD

    #AFA2DD

    oklch(74.4% 0.085 294.3)

  • #91ACE3

    #91ACE3

    oklch(74.5% 0.085 264.2)

  • #C89ACB

    #C89ACB

    oklch(74.5% 0.086 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2DD

    #AFA2DD

    oklch(74.4% 0.085 294.3)

  • #C5A86C

    #C5A86C

    oklch(74.4% 0.085 84.7)

  • #8BBB8A

    #8BBB8A

    oklch(74.5% 0.086 144.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2DD

    #AFA2DD

    oklch(74.4% 0.085 294.3)

  • #D79E79

    #D79E79

    oklch(74.5% 0.085 54)

  • #6FBEA8

    #6FBEA8

    oklch(74.4% 0.085 174)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2DD

    #AFA2DD

    oklch(74.4% 0.085 294.3)

  • #DD9792

    #DD9792

    oklch(74.4% 0.085 23.8)

  • #ABB374

    #ABB374

    oklch(74.5% 0.085 114.4)

  • #65BCC5

    #65BCC5

    oklch(74.4% 0.085 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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