#AFA5EB

Closest named color: Baby Purple (#CA9BF7). oklch(75.6% 0.1 290.3), rgb(175, 165, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.40:1
White text2.23:1

Values

HEX#AFA5EB
RGBrgb(175, 165, 235)
HSLhsl(249, 64%, 78%)
OKLCHoklch(75.6% 0.1 290.3)

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 #AFA5EB 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #AFA5EB 9.40:1 AAA Lc 60.0 Content text, not long reading
#AFA5EB text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#AFA5EB text on black 9.40:1 AAA Lc -58.2 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6EF

    oklch(88.5% 0.034 289.4)

  4. Step 300

    300

    #C0BAE7

    oklch(80.9% 0.063 291)

  5. Step 400

    400 (this color)

    #AFA5EB

    oklch(75.6% 0.1 290.3)

  6. Step 500

    500

    #8A7AD1

    oklch(63.1% 0.129 290.7)

  7. Step 600

    600

    #7462BE

    oklch(55.7% 0.139 290.1)

  8. Step 700

    700

    #6250A4

    oklch(49.1% 0.13 290.7)

  9. Step 800

    800

    #504284

    oklch(42.7% 0.107 290.9)

  10. Step 900

    900

    #42396A

    oklch(37.8% 0.082 290.4)

  11. Step 950

    950

    #26213E

    oklch(26.9% 0.053 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5EB 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)#93AFEE0.042
Deuteranopia (no green cones)#93ACE90.040
Tritanopia (no blue cones)#A2B1BE0.084
Achromatopsia (no color)#ADADAD0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5EB

    #AFA5EB

    oklch(75.6% 0.1 290.3)

  • #B3B669

    #B3B669

    oklch(75.7% 0.1 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5EB

    #AFA5EB

    oklch(75.6% 0.1 290.3)

  • #8BB1EF

    #8BB1EF

    oklch(75.6% 0.099 260)

  • #CD9BD7

    #CD9BD7

    oklch(75.6% 0.1 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5EB

    #AFA5EB

    oklch(75.6% 0.1 290.3)

  • #D1A963

    #D1A963

    oklch(75.6% 0.1 80.3)

  • #8DC083

    #8DC083

    oklch(75.6% 0.101 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5EB

    #AFA5EB

    oklch(75.6% 0.1 290.3)

  • #E39D75

    #E39D75

    oklch(75.5% 0.1 50.4)

  • #68C5A7

    #68C5A7

    oklch(75.7% 0.1 170.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5EB

    #AFA5EB

    oklch(75.6% 0.1 290.3)

  • #E89695

    #E89695

    oklch(75.5% 0.099 20.4)

  • #B3B669

    #B3B669

    oklch(75.7% 0.1 110.5)

  • #55C3C9

    #55C3C9

    oklch(75.6% 0.1 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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