#AFA3F6

Closest named color: Pastel Purple (#CAA0FF). oklch(75.7% 0.118 289.9), rgb(175, 163, 246).

Aa

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

About this color

#AFA3F6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.118 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.043 away. Black text reads best on it, at 9.39:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest namePastel Purple (#CAA0FF)
Black text9.39:1
White text2.23:1

Values

HEX#AFA3F6
RGBrgb(175, 163, 246)
HSLhsl(249, 82%, 80%)
OKLCHoklch(75.7% 0.118 289.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 #AFA3F6 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #AFA3F6 9.39:1 AAA Lc 60.0 Large or bold text, headings
#AFA3F6 text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#AFA3F6 text on black 9.39:1 AAA Lc -58.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9EE

    oklch(80.9% 0.074 289.8)

  5. Step 400

    400 (this color)

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  6. Step 500

    500

    #8A76DD

    oklch(63% 0.151 290.3)

  7. Step 600

    600

    #745DCB

    oklch(55.6% 0.164 289.6)

  8. Step 700

    700

    #624CAF

    oklch(49.1% 0.151 289.9)

  9. Step 800

    800

    #503F8E

    oklch(42.8% 0.126 289.9)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA3F6 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)#8CAFF90.051
Deuteranopia (no green cones)#8CACF40.050
Tritanopia (no blue cones)#9FB2C10.100
Achromatopsia (no color)#ADADAD0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA3F6

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  • #B5B758

    #B5B758

    oklch(75.8% 0.119 110)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA3F6

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  • #84B1FB

    #84B1FB

    oklch(75.8% 0.118 260)

  • #D197DF

    #D197DF

    oklch(75.6% 0.118 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA3F6

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  • #D7A751

    #D7A751

    oklch(75.6% 0.118 79.9)

  • #87C37A

    #87C37A

    oklch(75.8% 0.119 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA3F6

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  • #EC996A

    #EC996A

    oklch(75.7% 0.118 49.8)

  • #54C8A5

    #54C8A5

    oklch(75.7% 0.117 170.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA3F6

    #AFA3F6

    oklch(75.7% 0.118 289.9)

  • #F29191

    #F29191

    oklch(75.8% 0.118 20.2)

  • #B5B758

    #B5B758

    oklch(75.8% 0.119 110)

  • #34C6CD

    #34C6CD

    oklch(75.6% 0.118 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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