#AFA9ED

Closest named color: Pale Violet (#CEAEFA). oklch(76.5% 0.097 287.9), rgb(175, 169, 237).

Aa

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

About this color

#AFA9ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.097 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.051 away. Black text reads best on it, at 9.72:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text9.72:1
White text2.16:1

Values

HEX#AFA9ED
RGBrgb(175, 169, 237)
HSLhsl(245, 65%, 80%)
OKLCHoklch(76.5% 0.097 287.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 #AFA9ED 2.16:1 Fails Lc -47.1 Large or bold text, headings
Black text on #AFA9ED 9.72:1 AAA Lc 61.5 Content text, not long reading
#AFA9ED text on white 2.16:1 Fails Lc 42.4 Non-text elements, placeholder text
#AFA9ED text on black 9.72:1 AAA Lc -59.8 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

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FB

    oklch(88.5% 0.053 288.8)

  4. Step 300

    300 (this color)

    #AFA9ED

    oklch(76.5% 0.097 287.9)

  5. Step 400

    400

    #9D8EFA

    oklch(70.6% 0.155 288.1)

  6. Step 500

    500

    #876EF8

    oklch(63.1% 0.198 287.7)

  7. Step 600

    600

    #7351E7

    oklch(55.7% 0.215 287.7)

  8. Step 700

    700

    #6140C8

    oklch(49.1% 0.199 287.9)

  9. Step 800

    800

    #4F36A2

    oklch(42.7% 0.165 287.9)

  10. Step 900

    900

    #413181

    oklch(37.8% 0.129 287.8)

  11. Step 950

    950

    #261D4B

    oklch(26.9% 0.082 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA9ED 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)#97B2F00.036
Deuteranopia (no green cones)#96AFEB0.036
Tritanopia (no blue cones)#A1B5C10.083
Achromatopsia (no color)#B0B0B00.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA9ED

    #AFA9ED

    oklch(76.5% 0.097 287.9)

  • #B8B76D

    #B8B76D

    oklch(76.4% 0.096 107.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA9ED

    #AFA9ED

    oklch(76.5% 0.097 287.9)

  • #8CB4F0

    #8CB4F0

    oklch(76.4% 0.097 258.3)

  • #CC9FDB

    #CC9FDB

    oklch(76.4% 0.097 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA9ED

    #AFA9ED

    oklch(76.5% 0.097 287.9)

  • #D5AB6A

    #D5AB6A

    oklch(76.5% 0.096 77.5)

  • #94C185

    #94C185

    oklch(76.3% 0.096 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA9ED

    #AFA9ED

    oklch(76.5% 0.097 287.9)

  • #E6A07C

    #E6A07C

    oklch(76.5% 0.097 48)

  • #70C7A7

    #70C7A7

    oklch(76.6% 0.097 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA9ED

    #AFA9ED

    oklch(76.5% 0.097 287.9)

  • #EA999B

    #EA999B

    oklch(76.4% 0.098 18)

  • #B8B76D

    #B8B76D

    oklch(76.4% 0.096 107.8)

  • #5DC5C9

    #5DC5C9

    oklch(76.4% 0.096 198.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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