#AFAAF5

Closest named color: Pale Violet (#CEAEFA). oklch(77% 0.106 286.7), rgb(175, 170, 245).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text9.89:1
White text2.12:1

Values

HEX#AFAAF5
RGBrgb(175, 170, 245)
HSLhsl(244, 79%, 81%)
OKLCHoklch(77% 0.106 286.7)

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 #AFAAF5 2.12:1 Fails Lc -46.2 Large or bold text, headings
Black text on #AFAAF5 9.89:1 AAA Lc 62.4 Content text, not long reading
#AFAAF5 text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#AFAAF5 text on black 9.89:1 AAA Lc -60.7 Content text, not long reading

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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E8E7FE

    oklch(93.6% 0.031 287.8)

  3. Step 200

    200

    #D5D4FF

    oklch(88.5% 0.059 286.2)

  4. Step 300

    300 (this color)

    #AFAAF5

    oklch(77% 0.106 286.7)

  5. Step 400

    400

    #9B8EFF

    oklch(70.7% 0.161 286.8)

  6. Step 500

    500

    #856CFF

    oklch(63.1% 0.209 286.6)

  7. Step 600

    600

    #724AF3

    oklch(55.6% 0.237 286.8)

  8. Step 700

    700

    #6039D3

    oklch(49% 0.22 286.8)

  9. Step 800

    800

    #4E31AB

    oklch(42.7% 0.183 286.8)

  10. Step 900

    900

    #402E87

    oklch(37.7% 0.141 286.8)

  11. Step 950

    950

    #251C4F

    oklch(27% 0.09 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAF5 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)#95B4F80.039
Deuteranopia (no green cones)#94B0F30.038
Tritanopia (no blue cones)#9EB7C50.091
Achromatopsia (no color)#B2B2B20.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAF5

    #AFAAF5

    oklch(77% 0.106 286.7)

  • #BCB965

    #BCB965

    oklch(77% 0.107 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAF5

    #AFAAF5

    oklch(77% 0.106 286.7)

  • #88B7F8

    #88B7F8

    oklch(77.1% 0.106 256.6)

  • #D09FE2

    #D09FE2

    oklch(77.1% 0.107 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAF5

    #AFAAF5

    oklch(77% 0.106 286.7)

  • #DBAB63

    #DBAB63

    oklch(77% 0.106 76.2)

  • #94C480

    #94C480

    oklch(76.9% 0.106 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAF5

    #AFAAF5

    oklch(77% 0.106 286.7)

  • #EC9F79

    #EC9F79

    oklch(77% 0.106 47)

  • #6ACAA6

    #6ACAA6

    oklch(77% 0.106 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAF5

    #AFAAF5

    oklch(77% 0.106 286.7)

  • #F0989C

    #F0989C

    oklch(77% 0.106 16.9)

  • #BCB965

    #BCB965

    oklch(77% 0.107 106.8)

  • #51C9CB

    #51C9CB

    oklch(77% 0.106 196.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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