#AFACF0

Closest named color: Pale Violet (#CEAEFA). oklch(77.2% 0.096 285.9), rgb(175, 172, 240).

Aa

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

About this color

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

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

Values

HEX#AFACF0
RGBrgb(175, 172, 240)
HSLhsl(243, 69%, 81%)
OKLCHoklch(77.2% 0.096 285.9)

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 #AFACF0 2.10:1 Fails Lc -45.8 Large or bold text, headings
Black text on #AFACF0 9.98:1 AAA Lc 62.8 Content text, not long reading
#AFACF0 text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#AFACF0 text on black 9.98:1 AAA Lc -61.1 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

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D5D5FC

    oklch(88.5% 0.053 285.3)

  4. Step 300

    300 (this color)

    #AFACF0

    oklch(77.2% 0.096 285.9)

  5. Step 400

    400

    #9A90FB

    oklch(70.8% 0.153 286.1)

  6. Step 500

    500

    #836FF9

    oklch(63% 0.198 285.8)

  7. Step 600

    600

    #6F53E8

    oklch(55.7% 0.214 285.7)

  8. Step 700

    700

    #5E42CA

    oklch(49.3% 0.199 286)

  9. Step 800

    800

    #4C37A3

    oklch(42.7% 0.166 286)

  10. Step 900

    900

    #3F3281

    oklch(37.8% 0.128 286.1)

  11. Step 950

    950

    #241E4C

    oklch(27% 0.082 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFACF0 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)#9AB5F30.033
Deuteranopia (no green cones)#98B1EE0.032
Tritanopia (no blue cones)#A0B8C40.083
Achromatopsia (no color)#B3B3B30.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACF0

    #AFACF0

    oklch(77.2% 0.096 285.9)

  • #BDB96E

    #BDB96E

    oklch(77.2% 0.097 105.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACF0

    #AFACF0

    oklch(77.2% 0.096 285.9)

  • #8CB7F2

    #8CB7F2

    oklch(77.1% 0.097 256.4)

  • #CDA2DF

    #CDA2DF

    oklch(77.2% 0.097 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFACF0

    #AFACF0

    oklch(77.2% 0.096 285.9)

  • #D8AC6C

    #D8AC6C

    oklch(77% 0.097 75.9)

  • #99C385

    #99C385

    oklch(77.1% 0.096 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACF0

    #AFACF0

    oklch(77.2% 0.096 285.9)

  • #E9A180

    #E9A180

    oklch(77.1% 0.097 45.5)

  • #75C9A7

    #75C9A7

    oklch(77.3% 0.096 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACF0

    #AFACF0

    oklch(77.2% 0.096 285.9)

  • #EC9BA0

    #EC9BA0

    oklch(77.1% 0.097 15.5)

  • #BDB96E

    #BDB96E

    oklch(77.2% 0.097 105.8)

  • #60C8C9

    #60C8C9

    oklch(77.2% 0.096 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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