#AFA2D4

Closest named color: Pale Purple (#B790D4). oklch(74.1% 0.072 296.5), rgb(175, 162, 212).

Aa

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

About this color

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

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

Values

HEX#AFA2D4
RGBrgb(175, 162, 212)
HSLhsl(256, 37%, 73%)
OKLCHoklch(74.1% 0.072 296.5)

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 #AFA2D4 2.34:1 Fails Lc -51.2 Large or bold text, headings
Black text on #AFA2D4 8.94:1 AAA Lc 57.7 Large or bold text, headings
#AFA2D4 text on white 2.34:1 Fails Lc 46.3 Large or bold text, headings
#AFA2D4 text on black 8.94:1 AAA Lc -55.8 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)

    #AFA2D4

    oklch(74.1% 0.072 296.5)

  6. Step 500

    500

    #8F7EBB

    oklch(63.2% 0.092 296.5)

  7. Step 600

    600

    #7966A7

    oklch(55.6% 0.1 296.4)

  8. Step 700

    700

    #66558F

    oklch(49.2% 0.092 296.3)

  9. Step 800

    800

    #534574

    oklch(42.6% 0.078 296.7)

  10. Step 900

    900

    #453B5E

    oklch(37.8% 0.06 296.6)

  11. Step 950

    950

    #282237

    oklch(26.9% 0.039 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2D4 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)#97A9D60.035
Deuteranopia (no green cones)#99A9D30.034
Tritanopia (no blue cones)#A8AAB30.060
Achromatopsia (no color)#A9A9A90.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2D4

    #AFA2D4

    oklch(74.1% 0.072 296.5)

  • #A8B17D

    #A8B17D

    oklch(74% 0.072 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2D4

    #AFA2D4

    oklch(74.1% 0.072 296.5)

  • #96AADA

    #96AADA

    oklch(74% 0.073 267)

  • #C49BC3

    #C49BC3

    oklch(74% 0.073 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2D4

    #AFA2D4

    oklch(74.1% 0.072 296.5)

  • #BFA876

    #BFA876

    oklch(74% 0.072 86)

  • #8DB890

    #8DB890

    oklch(74.1% 0.073 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2D4

    #AFA2D4

    oklch(74.1% 0.072 296.5)

  • #CFA07E

    #CFA07E

    oklch(74.1% 0.073 57.2)

  • #78BAAA

    #78BAAA

    oklch(74% 0.072 177.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2D4

    #AFA2D4

    oklch(74.1% 0.072 296.5)

  • #D59A93

    #D59A93

    oklch(74.1% 0.072 26.5)

  • #A8B17D

    #A8B17D

    oklch(74% 0.072 116.2)

  • #72B8C2

    #72B8C2

    oklch(74% 0.072 207.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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