#AFA9E7

Closest named color: Pale Violet (#CEAEFA). oklch(76.2% 0.088 288.6), rgb(175, 169, 231).

Aa

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

About this color

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

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

Values

HEX#AFA9E7
RGBrgb(175, 169, 231)
HSLhsl(246, 56%, 78%)
OKLCHoklch(76.2% 0.088 288.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 #AFA9E7 2.17:1 Fails Lc -47.5 Large or bold text, headings
Black text on #AFA9E7 9.65:1 AAA Lc 61.2 Content text, not long reading
#AFA9E7 text on white 2.17:1 Fails Lc 42.8 Non-text elements, placeholder text
#AFA9E7 text on black 9.65:1 AAA Lc -59.4 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D7D5F8

    oklch(88.6% 0.048 288)

  4. Step 300

    300 (this color)

    #AFA9E7

    oklch(76.2% 0.088 288.6)

  5. Step 400

    400

    #9E90F3

    oklch(70.7% 0.142 288.7)

  6. Step 500

    500

    #8871EE

    oklch(63% 0.181 288.6)

  7. Step 600

    600

    #7456DC

    oklch(55.7% 0.195 288.7)

  8. Step 700

    700

    #6145BF

    oklch(49.1% 0.182 288.4)

  9. Step 800

    800

    #4F3A9B

    oklch(42.8% 0.151 288.3)

  10. Step 900

    900

    #41337B

    oklch(37.7% 0.117 288.4)

  11. Step 950

    950

    #261E48

    oklch(26.9% 0.075 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFA9E7 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)#99B1EA0.033
Deuteranopia (no green cones)#99AEE50.031
Tritanopia (no blue cones)#A3B4BF0.076
Achromatopsia (no color)#B0B0B00.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA9E7

    #AFA9E7

    oklch(76.2% 0.088 288.6)

  • #B6B773

    #B6B773

    oklch(76.3% 0.089 109.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA9E7

    #AFA9E7

    oklch(76.2% 0.088 288.6)

  • #8FB3EA

    #8FB3EA

    oklch(76.1% 0.089 258.7)

  • #CAA0D6

    #CAA0D6

    oklch(76.2% 0.088 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA9E7

    #AFA9E7

    oklch(76.2% 0.088 288.6)

  • #D0AB70

    #D0AB70

    oklch(76.1% 0.088 78.5)

  • #96C089

    #96C089

    oklch(76.3% 0.089 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA9E7

    #AFA9E7

    oklch(76.2% 0.088 288.6)

  • #E0A180

    #E0A180

    oklch(76.1% 0.088 48.6)

  • #76C4A8

    #76C4A8

    oklch(76.2% 0.088 169)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA9E7

    #AFA9E7

    oklch(76.2% 0.088 288.6)

  • #E49B9C

    #E49B9C

    oklch(76.1% 0.088 18.4)

  • #B6B773

    #B6B773

    oklch(76.3% 0.089 109.1)

  • #67C3C6

    #67C3C6

    oklch(76.2% 0.088 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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