#AFA6EE

Closest named color: Baby Purple (#CA9BF7). oklch(75.9% 0.102 289.4), rgb(175, 166, 238).

Aa

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

About this color

#AFA6EE is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.102 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.050 away. Black text reads best on it, at 9.51:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameBaby Purple (#CA9BF7)
Black text9.51:1
White text2.20:1

Values

HEX#AFA6EE
RGBrgb(175, 166, 238)
HSLhsl(248, 68%, 79%)
OKLCHoklch(75.9% 0.102 289.4)

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 #AFA6EE 2.20:1 Fails Lc -48.2 Large or bold text, headings
Black text on #AFA6EE 9.51:1 AAA Lc 60.5 Content text, not long reading
#AFA6EE text on white 2.20:1 Fails Lc 43.4 Non-text elements, placeholder text
#AFA6EE text on black 9.51:1 AAA Lc -58.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 300.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300 (this color)

    #AFA6EE

    oklch(75.9% 0.102 289.4)

  5. Step 400

    400

    #A08CFF

    oklch(70.8% 0.164 289.5)

  6. Step 500

    500

    #8B6AFD

    oklch(63.2% 0.209 289.4)

  7. Step 600

    600

    #774BEC

    oklch(55.6% 0.228 289.4)

  8. Step 700

    700

    #653ACD

    oklch(49.1% 0.212 289.6)

  9. Step 800

    800

    #5232A6

    oklch(42.7% 0.175 289.5)

  10. Step 900

    900

    #432E84

    oklch(37.7% 0.137 289.4)

  11. Step 950

    950

    #271C4D

    oklch(27% 0.087 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6EE 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)#93B0F10.042
Deuteranopia (no green cones)#93ADEC0.040
Tritanopia (no blue cones)#A1B2C00.086
Achromatopsia (no color)#AEAEAE0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6EE

    #AFA6EE

    oklch(75.9% 0.102 289.4)

  • #B5B767

    #B5B767

    oklch(76% 0.103 109.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6EE

    #AFA6EE

    oklch(75.9% 0.102 289.4)

  • #8AB2F2

    #8AB2F2

    oklch(75.9% 0.102 259.6)

  • #CE9CDA

    #CE9CDA

    oklch(76% 0.102 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6EE

    #AFA6EE

    oklch(75.9% 0.102 289.4)

  • #D4A962

    #D4A962

    oklch(75.9% 0.103 78.8)

  • #8FC182

    #8FC182

    oklch(76% 0.102 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6EE

    #AFA6EE

    oklch(75.9% 0.102 289.4)

  • #E69D75

    #E69D75

    oklch(75.9% 0.103 49.4)

  • #67C6A6

    #67C6A6

    oklch(75.9% 0.103 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6EE

    #AFA6EE

    oklch(75.9% 0.102 289.4)

  • #EB9696

    #EB9696

    oklch(75.9% 0.103 19.7)

  • #B5B767

    #B5B767

    oklch(76% 0.103 109.9)

  • #52C5CA

    #52C5CA

    oklch(76% 0.103 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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