#AFA2DA

Closest named color: Pale Purple (#B790D4). oklch(74.3% 0.081 295), rgb(175, 162, 218).

Aa

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

About this color

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

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

Values

HEX#AFA2DA
RGBrgb(175, 162, 218)
HSLhsl(254, 43%, 75%)
OKLCHoklch(74.3% 0.081 295)

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 #AFA2DA 2.33:1 Fails Lc -50.9 Large or bold text, headings
Black text on #AFA2DA 9.00:1 AAA Lc 58.0 Large or bold text, headings
#AFA2DA text on white 2.33:1 Fails Lc 46.0 Large or bold text, headings
#AFA2DA text on black 9.00:1 AAA Lc -56.1 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

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DAD6EA

    oklch(88.5% 0.028 295)

  4. Step 300

    300

    #C2BBDF

    oklch(80.9% 0.051 294.2)

  5. Step 400

    400 (this color)

    #AFA2DA

    oklch(74.3% 0.081 295)

  6. Step 500

    500

    #8E7CC1

    oklch(63% 0.103 295.3)

  7. Step 600

    600

    #7865AE

    oklch(55.6% 0.112 294.5)

  8. Step 700

    700

    #655395

    oklch(49% 0.104 294.8)

  9. Step 800

    800

    #534479

    oklch(42.7% 0.087 295.5)

  10. Step 900

    900

    #443A61

    oklch(37.7% 0.066 294.8)

  11. Step 950

    950

    #282239

    oklch(27% 0.043 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2DA 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)#95AADC0.039
Deuteranopia (no green cones)#97A9D80.037
Tritanopia (no blue cones)#A7ABB50.068
Achromatopsia (no color)#AAAAAA0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2DA

    #AFA2DA

    oklch(74.3% 0.081 295)

  • #AAB277

    #AAB277

    oklch(74.3% 0.08 114.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2DA

    #AFA2DA

    oklch(74.3% 0.081 295)

  • #93ABE0

    #93ABE0

    oklch(74.2% 0.082 265.6)

  • #C69AC8

    #C69AC8

    oklch(74.2% 0.081 324.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2DA

    #AFA2DA

    oklch(74.3% 0.081 295)

  • #C3A870

    #C3A870

    oklch(74.2% 0.08 84.8)

  • #8CBA8C

    #8CBA8C

    oklch(74.4% 0.082 144.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2DA

    #AFA2DA

    oklch(74.3% 0.081 295)

  • #D49F7B

    #D49F7B

    oklch(74.4% 0.08 55.3)

  • #72BDA9

    #72BDA9

    oklch(74.4% 0.081 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2DA

    #AFA2DA

    oklch(74.3% 0.081 295)

  • #DA9892

    #DA9892

    oklch(74.2% 0.08 25)

  • #AAB277

    #AAB277

    oklch(74.3% 0.08 114.7)

  • #69BBC4

    #69BBC4

    oklch(74.3% 0.081 204.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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