#AFAAF0

Closest named color: Pale Violet (#CEAEFA). oklch(76.8% 0.099 287.1), rgb(175, 170, 240).

Aa

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

About this color

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

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

Values

HEX#AFAAF0
RGBrgb(175, 170, 240)
HSLhsl(244, 70%, 80%)
OKLCHoklch(76.8% 0.099 287.1)

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 #AFAAF0 2.13:1 Fails Lc -46.6 Large or bold text, headings
Black text on #AFAAF0 9.83:1 AAA Lc 62.1 Content text, not long reading
#AFAAF0 text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#AFAAF0 text on black 9.83:1 AAA Lc -60.3 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FD

    oklch(88.5% 0.056 287.4)

  4. Step 300

    300 (this color)

    #AFAAF0

    oklch(76.8% 0.099 287.1)

  5. Step 400

    400

    #9C8EFD

    oklch(70.7% 0.159 287.4)

  6. Step 500

    500

    #866DFB

    oklch(63.1% 0.203 287.2)

  7. Step 600

    600

    #724FEA

    oklch(55.5% 0.221 287.2)

  8. Step 700

    700

    #603FCC

    oklch(49.2% 0.205 287)

  9. Step 800

    800

    #4E35A5

    oklch(42.7% 0.17 287.1)

  10. Step 900

    900

    #403083

    oklch(37.7% 0.133 287)

  11. Step 950

    950

    #251D4C

    oklch(26.9% 0.083 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAF0 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)#97B3F30.036
Deuteranopia (no green cones)#96B0EE0.035
Tritanopia (no blue cones)#A0B6C30.085
Achromatopsia (no color)#B1B1B10.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAF0

    #AFAAF0

    oklch(76.8% 0.099 287.1)

  • #BAB86B

    #BAB86B

    oklch(76.7% 0.099 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAF0

    #AFAAF0

    oklch(76.8% 0.099 287.1)

  • #8BB6F3

    #8BB6F3

    oklch(76.9% 0.1 257.1)

  • #CDA0DE

    #CDA0DE

    oklch(76.8% 0.099 316.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAF0

    #AFAAF0

    oklch(76.8% 0.099 287.1)

  • #D7AB68

    #D7AB68

    oklch(76.7% 0.099 76.9)

  • #95C384

    #95C384

    oklch(76.8% 0.1 137.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAF0

    #AFAAF0

    oklch(76.8% 0.099 287.1)

  • #E8A07C

    #E8A07C

    oklch(76.8% 0.099 47.4)

  • #70C8A6

    #70C8A6

    oklch(76.8% 0.099 166.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAF0

    #AFAAF0

    oklch(76.8% 0.099 287.1)

  • #EC999D

    #EC999D

    oklch(76.7% 0.1 16.5)

  • #BAB86B

    #BAB86B

    oklch(76.7% 0.099 107.2)

  • #5AC7C9

    #5AC7C9

    oklch(76.7% 0.099 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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