#AFA3D8

Closest named color: Pale Purple (#B790D4). oklch(74.4% 0.076 294.9), rgb(175, 163, 216).

Aa

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

About this color

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

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

Values

HEX#AFA3D8
RGBrgb(175, 163, 216)
HSLhsl(254, 40%, 74%)
OKLCHoklch(74.4% 0.076 294.9)

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 #AFA3D8 2.31:1 Fails Lc -50.6 Large or bold text, headings
Black text on #AFA3D8 9.05:1 AAA Lc 58.2 Large or bold text, headings
#AFA3D8 text on white 2.31:1 Fails Lc 45.7 Large or bold text, headings
#AFA3D8 text on black 9.05: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C2BBDD

    oklch(80.9% 0.048 294.7)

  5. Step 400

    400 (this color)

    #AFA3D8

    oklch(74.4% 0.076 294.9)

  6. Step 500

    500

    #8D7DBF

    oklch(63% 0.099 294.5)

  7. Step 600

    600

    #7866AB

    oklch(55.7% 0.106 294.7)

  8. Step 700

    700

    #655493

    oklch(49.1% 0.1 294.9)

  9. Step 800

    800

    #524577

    oklch(42.6% 0.082 294.6)

  10. Step 900

    900

    #443A60

    oklch(37.6% 0.065 295.2)

  11. Step 950

    950

    #282238

    oklch(26.9% 0.041 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3D8 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)#97ABDA0.036
Deuteranopia (no green cones)#98A9D60.034
Tritanopia (no blue cones)#A7ABB50.063
Achromatopsia (no color)#AAAAAA0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA3D8

    #AFA3D8

    oklch(74.4% 0.076 294.9)

  • #AAB27A

    #AAB27A

    oklch(74.3% 0.076 114.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA3D8

    #AFA3D8

    oklch(74.4% 0.076 294.9)

  • #94ACDD

    #94ACDD

    oklch(74.4% 0.076 264.3)

  • #C59CC7

    #C59CC7

    oklch(74.4% 0.076 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA3D8

    #AFA3D8

    oklch(74.4% 0.076 294.9)

  • #C2A974

    #C2A974

    oklch(74.4% 0.076 85.4)

  • #8EB98E

    #8EB98E

    oklch(74.3% 0.076 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA3D8

    #AFA3D8

    oklch(74.4% 0.076 294.9)

  • #D3A07E

    #D3A07E

    oklch(74.5% 0.077 54.9)

  • #76BCA9

    #76BCA9

    oklch(74.3% 0.076 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA3D8

    #AFA3D8

    oklch(74.4% 0.076 294.9)

  • #D89A94

    #D89A94

    oklch(74.4% 0.075 25.2)

  • #AAB27A

    #AAB27A

    oklch(74.3% 0.076 114.9)

  • #6EBAC3

    #6EBAC3

    oklch(74.3% 0.076 205.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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