#AFAAF3

Closest named color: Pale Violet (#CEAEFA). oklch(76.9% 0.104 286.8), rgb(175, 170, 243).

Aa

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

About this color

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

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

Values

HEX#AFAAF3
RGBrgb(175, 170, 243)
HSLhsl(244, 75%, 81%)
OKLCHoklch(76.9% 0.104 286.8)

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 #AFAAF3 2.12:1 Fails Lc -46.4 Large or bold text, headings
Black text on #AFAAF3 9.86:1 AAA Lc 62.2 Content text, not long reading
#AFAAF3 text on white 2.12:1 Fails Lc 41.7 Non-text elements, placeholder text
#AFAAF3 text on black 9.86:1 AAA Lc -60.5 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

    #D6D4FE

    oklch(88.5% 0.058 287.3)

  4. Step 300

    300 (this color)

    #AFAAF3

    oklch(76.9% 0.104 286.8)

  5. Step 400

    400

    #9B8EFF

    oklch(70.7% 0.161 286.8)

  6. Step 500

    500

    #866CFF

    oklch(63.2% 0.209 286.9)

  7. Step 600

    600

    #724DEF

    oklch(55.6% 0.229 286.9)

  8. Step 700

    700

    #603CD0

    oklch(49.1% 0.213 286.8)

  9. Step 800

    800

    #4E33A8

    oklch(42.7% 0.177 286.9)

  10. Step 900

    900

    #402F85

    oklch(37.7% 0.137 286.9)

  11. Step 950

    950

    #251D4E

    oklch(27.1% 0.087 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAF3 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)#96B4F60.038
Deuteranopia (no green cones)#95B0F10.036
Tritanopia (no blue cones)#9FB7C40.089
Achromatopsia (no color)#B2B2B20.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAF3

    #AFAAF3

    oklch(76.9% 0.104 286.8)

  • #BBB968

    #BBB968

    oklch(77% 0.104 107.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAF3

    #AFAAF3

    oklch(76.9% 0.104 286.8)

  • #89B6F6

    #89B6F6

    oklch(76.9% 0.104 257.2)

  • #CF9FE0

    #CF9FE0

    oklch(76.9% 0.104 317.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAF3

    #AFAAF3

    oklch(76.9% 0.104 286.8)

  • #D9AB65

    #D9AB65

    oklch(76.8% 0.103 76.7)

  • #95C481

    #95C481

    oklch(77% 0.105 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAF3

    #AFAAF3

    oklch(76.9% 0.104 286.8)

  • #EB9F7A

    #EB9F7A

    oklch(76.9% 0.104 46.7)

  • #6CC9A6

    #6CC9A6

    oklch(76.9% 0.103 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAF3

    #AFAAF3

    oklch(76.9% 0.104 286.8)

  • #EF999C

    #EF999C

    oklch(77% 0.104 17.5)

  • #BBB968

    #BBB968

    oklch(77% 0.104 107.4)

  • #55C8CA

    #55C8CA

    oklch(76.8% 0.103 196.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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