#AFAAF1

Closest named color: Pale Violet (#CEAEFA). oklch(76.8% 0.101 287), rgb(175, 170, 241).

Aa

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

About this color

#AFAAF1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.101 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.84:1.

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

Values

HEX#AFAAF1
RGBrgb(175, 170, 241)
HSLhsl(244, 72%, 81%)
OKLCHoklch(76.8% 0.101 287)

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 #AFAAF1 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #AFAAF1 9.84:1 AAA Lc 62.1 Content text, not long reading
#AFAAF1 text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#AFAAF1 text on black 9.84:1 AAA Lc -60.4 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)

    #AFAAF1

    oklch(76.8% 0.101 287)

  5. Step 400

    400

    #9B8EFF

    oklch(70.7% 0.161 286.8)

  6. Step 500

    500

    #866CFD

    oklch(63% 0.207 287.1)

  7. Step 600

    600

    #724FEC

    oklch(55.7% 0.223 287)

  8. Step 700

    700

    #603ECD

    oklch(49.1% 0.207 287)

  9. Step 800

    800

    #4E34A6

    oklch(42.7% 0.173 287.1)

  10. Step 900

    900

    #403084

    oklch(37.8% 0.135 286.8)

  11. Step 950

    950

    #251D4D

    oklch(27% 0.085 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAF1 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)#97B3F40.036
Deuteranopia (no green cones)#96B0EF0.035
Tritanopia (no blue cones)#A0B6C30.086
Achromatopsia (no color)#B1B1B10.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAF1

    #AFAAF1

    oklch(76.8% 0.101 287)

  • #BBB86A

    #BBB86A

    oklch(76.8% 0.1 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAF1

    #AFAAF1

    oklch(76.8% 0.101 287)

  • #8AB6F4

    #8AB6F4

    oklch(76.8% 0.101 257)

  • #CEA0DE

    #CEA0DE

    oklch(76.9% 0.1 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAF1

    #AFAAF1

    oklch(76.8% 0.101 287)

  • #D8AB67

    #D8AB67

    oklch(76.8% 0.101 76.7)

  • #95C383

    #95C383

    oklch(76.8% 0.101 137.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAF1

    #AFAAF1

    oklch(76.8% 0.101 287)

  • #E9A07C

    #E9A07C

    oklch(76.9% 0.1 47)

  • #6FC8A6

    #6FC8A6

    oklch(76.7% 0.1 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAF1

    #AFAAF1

    oklch(76.8% 0.101 287)

  • #ED999D

    #ED999D

    oklch(76.8% 0.101 16.6)

  • #BBB86A

    #BBB86A

    oklch(76.8% 0.1 106.6)

  • #59C8CA

    #59C8CA

    oklch(77% 0.101 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 #AFAAF1, closest first.

Similar named colors

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

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