#AFA5EA

Closest named color: Baby Purple (#CA9BF7). oklch(75.6% 0.098 290.5), rgb(175, 165, 234).

Aa

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

About this color

#AFA5EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.098 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.052 away. Black text reads best on it, at 9.39:1.

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

Values

HEX#AFA5EA
RGBrgb(175, 165, 234)
HSLhsl(249, 62%, 78%)
OKLCHoklch(75.6% 0.098 290.5)

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 #AFA5EA 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #AFA5EA 9.39:1 AAA Lc 59.9 Large or bold text, headings
#AFA5EA text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#AFA5EA 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

    #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

    #C0BAE6

    oklch(80.8% 0.062 291.2)

  5. Step 400

    400 (this color)

    #AFA5EA

    oklch(75.6% 0.098 290.5)

  6. Step 500

    500

    #8A7BD0

    oklch(63.2% 0.126 290.4)

  7. Step 600

    600

    #7462BD

    oklch(55.6% 0.137 290.3)

  8. Step 700

    700

    #6251A3

    oklch(49.2% 0.127 290.5)

  9. Step 800

    800

    #504384

    oklch(42.8% 0.105 290.5)

  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

#AFA5EA 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)#93AFED0.042
Deuteranopia (no green cones)#93ACE80.040
Tritanopia (no blue cones)#A2B1BE0.083
Achromatopsia (no color)#ADADAD0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5EA

    #AFA5EA

    oklch(75.6% 0.098 290.5)

  • #B3B66A

    #B3B66A

    oklch(75.7% 0.099 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5EA

    #AFA5EA

    oklch(75.6% 0.098 290.5)

  • #8CB1EE

    #8CB1EE

    oklch(75.7% 0.097 260.2)

  • #CC9BD6

    #CC9BD6

    oklch(75.5% 0.098 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5EA

    #AFA5EA

    oklch(75.6% 0.098 290.5)

  • #D0A964

    #D0A964

    oklch(75.5% 0.099 80.7)

  • #8EBF84

    #8EBF84

    oklch(75.5% 0.097 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5EA

    #AFA5EA

    oklch(75.6% 0.098 290.5)

  • #E29D76

    #E29D76

    oklch(75.4% 0.098 50.2)

  • #69C4A7

    #69C4A7

    oklch(75.6% 0.098 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5EA

    #AFA5EA

    oklch(75.6% 0.098 290.5)

  • #E89695

    #E89695

    oklch(75.5% 0.099 20.4)

  • #B3B66A

    #B3B66A

    oklch(75.7% 0.099 110.5)

  • #57C3C9

    #57C3C9

    oklch(75.7% 0.099 200.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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