#AFA2D3

Closest named color: Pale Purple (#B790D4). oklch(74% 0.071 296.8), rgb(175, 162, 211).

Aa

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

About this color

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

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

Values

HEX#AFA2D3
RGBrgb(175, 162, 211)
HSLhsl(256, 36%, 73%)
OKLCHoklch(74% 0.071 296.8)

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 #AFA2D3 2.35:1 Fails Lc -51.3 Large or bold text, headings
Black text on #AFA2D3 8.93:1 AAA Lc 57.6 Large or bold text, headings
#AFA2D3 text on white 2.35:1 Fails Lc 46.3 Large or bold text, headings
#AFA2D3 text on black 8.93:1 AAA Lc -55.7 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E8

    oklch(88.5% 0.025 296.1)

  4. Step 300

    300

    #C3BBDB

    oklch(80.9% 0.045 296.8)

  5. Step 400

    400 (this color)

    #AFA2D3

    oklch(74% 0.071 296.8)

  6. Step 500

    500

    #8F7EBA

    oklch(63.2% 0.09 296.8)

  7. Step 600

    600

    #7966A6

    oklch(55.5% 0.099 296.7)

  8. Step 700

    700

    #66558E

    oklch(49.1% 0.091 296.6)

  9. Step 800

    800

    #534674

    oklch(42.8% 0.076 296)

  10. Step 900

    900

    #453B5D

    oklch(37.8% 0.058 297.1)

  11. Step 950

    950

    #282337

    oklch(27.1% 0.037 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2D3 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)#98A9D50.034
Deuteranopia (no green cones)#99A8D20.033
Tritanopia (no blue cones)#A8A9B30.057
Achromatopsia (no color)#A9A9A90.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2D3

    #AFA2D3

    oklch(74% 0.071 296.8)

  • #A8B17E

    #A8B17E

    oklch(74% 0.07 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2D3

    #AFA2D3

    oklch(74% 0.071 296.8)

  • #97AAD9

    #97AAD9

    oklch(74% 0.072 267.5)

  • #C39CC3

    #C39CC3

    oklch(74.1% 0.07 326.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2D3

    #AFA2D3

    oklch(74% 0.071 296.8)

  • #BEA877

    #BEA877

    oklch(73.9% 0.07 86.5)

  • #8EB891

    #8EB891

    oklch(74.2% 0.072 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2D3

    #AFA2D3

    oklch(74% 0.071 296.8)

  • #CEA07F

    #CEA07F

    oklch(74% 0.071 57)

  • #79BAAA

    #79BAAA

    oklch(74% 0.071 177)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2D3

    #AFA2D3

    oklch(74% 0.071 296.8)

  • #D49A93

    #D49A93

    oklch(74% 0.071 26.7)

  • #A8B17E

    #A8B17E

    oklch(74% 0.07 116.3)

  • #73B8C1

    #73B8C1

    oklch(74% 0.071 206.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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