#AFAAF8

Closest named color: Pale Violet (#CEAEFA). oklch(77.1% 0.111 286.4), rgb(175, 170, 248).

Aa

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

About this color

#AFAAF8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.111 and its hue 286°. 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.92:1.

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

Values

HEX#AFAAF8
RGBrgb(175, 170, 248)
HSLhsl(244, 85%, 82%)
OKLCHoklch(77.1% 0.111 286.4)

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 #AFAAF8 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #AFAAF8 9.92:1 AAA Lc 62.5 Content text, not long reading
#AFAAF8 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#AFAAF8 text on black 9.92:1 AAA Lc -60.8 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

    #E8E7FF

    oklch(93.6% 0.032 287.7)

  3. Step 200

    200

    #D5D4FF

    oklch(88.5% 0.059 286.2)

  4. Step 300

    300 (this color)

    #AFAAF8

    oklch(77.1% 0.111 286.4)

  5. Step 400

    400

    #9A8EFF

    oklch(70.6% 0.161 286.3)

  6. Step 500

    500

    #856CFF

    oklch(63.1% 0.209 286.6)

  7. Step 600

    600

    #7247F8

    oklch(55.6% 0.246 286.5)

  8. Step 700

    700

    #6036D8

    oklch(49.1% 0.228 286.4)

  9. Step 800

    800

    #4E2FAE

    oklch(42.7% 0.189 286.6)

  10. Step 900

    900

    #402D8A

    oklch(37.8% 0.147 286.5)

  11. Step 950

    950

    #251B51

    oklch(27% 0.094 286.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAF8 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)#94B4FB0.040
Deuteranopia (no green cones)#92B0F60.040
Tritanopia (no blue cones)#9EB8C60.095
Achromatopsia (no color)#B2B2B20.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAF8

    #AFAAF8

    oklch(77.1% 0.111 286.4)

  • #BDB962

    #BDB962

    oklch(77% 0.11 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAF8

    #AFAAF8

    oklch(77.1% 0.111 286.4)

  • #86B7FB

    #86B7FB

    oklch(77.1% 0.111 256.7)

  • #D19FE4

    #D19FE4

    oklch(77.2% 0.11 316.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAF8

    #AFAAF8

    oklch(77.1% 0.111 286.4)

  • #DDAB5F

    #DDAB5F

    oklch(77.2% 0.111 76.3)

  • #94C57E

    #94C57E

    oklch(77.1% 0.11 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAF8

    #AFAAF8

    oklch(77.1% 0.111 286.4)

  • #EF9E77

    #EF9E77

    oklch(77.1% 0.111 46.3)

  • #67CBA5

    #67CBA5

    oklch(77.1% 0.11 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAF8

    #AFAAF8

    oklch(77.1% 0.111 286.4)

  • #F3979C

    #F3979C

    oklch(77.2% 0.111 16.5)

  • #BDB962

    #BDB962

    oklch(77% 0.11 106.4)

  • #4ACACC

    #4ACACC

    oklch(77.1% 0.11 196.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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