#AFA6ED

Closest named color: Baby Purple (#CA9BF7). oklch(75.9% 0.101 289.6), rgb(175, 166, 237).

Aa

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

About this color

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

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

Values

HEX#AFA6ED
RGBrgb(175, 166, 237)
HSLhsl(248, 66%, 79%)
OKLCHoklch(75.9% 0.101 289.6)

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 #AFA6ED 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #AFA6ED 9.50:1 AAA Lc 60.5 Content text, not long reading
#AFA6ED text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#AFA6ED text on black 9.50: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

    #D8D4FD

    oklch(88.6% 0.056 289.7)

  4. Step 300

    300 (this color)

    #AFA6ED

    oklch(75.9% 0.101 289.6)

  5. Step 400

    400

    #A08CFD

    oklch(70.6% 0.161 289.7)

  6. Step 500

    500

    #8B6AFB

    oklch(63% 0.207 289.6)

  7. Step 600

    600

    #774CEA

    oklch(55.6% 0.224 289.5)

  8. Step 700

    700

    #653BCC

    oklch(49.1% 0.209 289.7)

  9. Step 800

    800

    #5233A5

    oklch(42.8% 0.173 289.5)

  10. Step 900

    900

    #432E83

    oklch(37.7% 0.136 289.6)

  11. Step 950

    950

    #271C4C

    oklch(26.9% 0.085 290)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6ED 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)#93B0F00.042
Deuteranopia (no green cones)#93ADEB0.040
Tritanopia (no blue cones)#A1B2BF0.086
Achromatopsia (no color)#AEAEAE0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6ED

    #AFA6ED

    oklch(75.9% 0.101 289.6)

  • #B5B668

    #B5B668

    oklch(75.8% 0.101 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6ED

    #AFA6ED

    oklch(75.9% 0.101 289.6)

  • #8AB2F1

    #8AB2F1

    oklch(75.9% 0.101 259.3)

  • #CD9CD9

    #CD9CD9

    oklch(75.9% 0.101 319.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6ED

    #AFA6ED

    oklch(75.9% 0.101 289.6)

  • #D3A963

    #D3A963

    oklch(75.8% 0.101 79.1)

  • #8FC183

    #8FC183

    oklch(76% 0.101 139.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6ED

    #AFA6ED

    oklch(75.9% 0.101 289.6)

  • #E59E76

    #E59E76

    oklch(76% 0.101 50.1)

  • #68C6A6

    #68C6A6

    oklch(76% 0.102 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6ED

    #AFA6ED

    oklch(75.9% 0.101 289.6)

  • #EA9697

    #EA9697

    oklch(75.8% 0.102 18.9)

  • #B5B668

    #B5B668

    oklch(75.8% 0.101 109.2)

  • #54C4C9

    #54C4C9

    oklch(75.8% 0.101 199.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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