#AFAAF4

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

Aa

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

About this color

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

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

Values

HEX#AFAAF4
RGBrgb(175, 170, 244)
HSLhsl(244, 77%, 81%)
OKLCHoklch(77% 0.105 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 #AFAAF4 2.12:1 Fails Lc -46.3 Large or bold text, headings
Black text on #AFAAF4 9.87:1 AAA Lc 62.3 Content text, not long reading
#AFAAF4 text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#AFAAF4 text on black 9.87:1 AAA Lc -60.6 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

    #D6D4FF

    oklch(88.5% 0.059 287.3)

  4. Step 300

    300 (this color)

    #AFAAF4

    oklch(77% 0.105 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

    #724CF1

    oklch(55.7% 0.233 286.8)

  8. Step 700

    700

    #603BD2

    oklch(49.2% 0.217 286.7)

  9. Step 800

    800

    #4E32AA

    oklch(42.7% 0.18 286.8)

  10. Step 900

    900

    #402E86

    oklch(37.6% 0.14 287)

  11. Step 950

    950

    #251C4F

    oklch(27% 0.09 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAF4 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)#96B4F70.038
Deuteranopia (no green cones)#94B0F20.038
Tritanopia (no blue cones)#9FB7C40.091
Achromatopsia (no color)#B2B2B20.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAF4

    #AFAAF4

    oklch(77% 0.105 286.7)

  • #BCB967

    #BCB967

    oklch(77% 0.105 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAF4

    #AFAAF4

    oklch(77% 0.105 286.7)

  • #88B6F7

    #88B6F7

    oklch(76.9% 0.106 257.1)

  • #CF9FE1

    #CF9FE1

    oklch(76.9% 0.105 316.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAF4

    #AFAAF4

    oklch(77% 0.105 286.7)

  • #DAAB64

    #DAAB64

    oklch(76.9% 0.105 76.5)

  • #95C481

    #95C481

    oklch(77% 0.105 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAF4

    #AFAAF4

    oklch(77% 0.105 286.7)

  • #EC9F7A

    #EC9F7A

    oklch(77% 0.105 46.4)

  • #6BCAA6

    #6BCAA6

    oklch(77% 0.105 166.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAF4

    #AFAAF4

    oklch(77% 0.105 286.7)

  • #EF989C

    #EF989C

    oklch(76.9% 0.105 16.8)

  • #BCB967

    #BCB967

    oklch(77% 0.105 106.8)

  • #53C9CB

    #53C9CB

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

Similar named colors

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

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