#AFACF7

Closest named color: Pale Violet (#CEAEFA). oklch(77.5% 0.106 285.5), rgb(175, 172, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.06:1
White text2.08:1

Values

HEX#AFACF7
RGBrgb(175, 172, 247)
HSLhsl(242, 82%, 82%)
OKLCHoklch(77.5% 0.106 285.5)

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 #AFACF7 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #AFACF7 10.06:1 AAA Lc 63.2 Content text, not long reading
#AFACF7 text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#AFACF7 text on black 10.06:1 AAA Lc -61.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

    #E7E7FE

    oklch(93.5% 0.031 285.8)

  3. Step 200

    200

    #D5D4FF

    oklch(88.5% 0.059 286.2)

  4. Step 300

    300 (this color)

    #AFACF7

    oklch(77.5% 0.106 285.5)

  5. Step 400

    400

    #998FFF

    oklch(70.7% 0.16 285.6)

  6. Step 500

    500

    #836DFF

    oklch(63.1% 0.208 285.7)

  7. Step 600

    600

    #6F4CF4

    oklch(55.7% 0.236 285.3)

  8. Step 700

    700

    #5E3BD4

    oklch(49.2% 0.219 285.6)

  9. Step 800

    800

    #4C32AB

    oklch(42.6% 0.182 285.6)

  10. Step 900

    900

    #3E2F88

    oklch(37.8% 0.142 285.1)

  11. Step 950

    950

    #241C4F

    oklch(26.9% 0.09 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFACF7 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)#97B6FA0.037
Deuteranopia (no green cones)#95B1F50.035
Tritanopia (no blue cones)#9EB9C70.091
Achromatopsia (no color)#B3B3B30.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACF7

    #AFACF7

    oklch(77.5% 0.106 285.5)

  • #BFBA66

    #BFBA66

    oklch(77.5% 0.107 105.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACF7

    #AFACF7

    oklch(77.5% 0.106 285.5)

  • #88B9F9

    #88B9F9

    oklch(77.6% 0.106 255.4)

  • #D0A1E4

    #D0A1E4

    oklch(77.5% 0.106 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFACF7

    #AFACF7

    oklch(77.5% 0.106 285.5)

  • #DDAC65

    #DDAC65

    oklch(77.5% 0.106 75.4)

  • #98C580

    #98C580

    oklch(77.4% 0.106 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACF7

    #AFACF7

    oklch(77.5% 0.106 285.5)

  • #EEA07C

    #EEA07C

    oklch(77.4% 0.106 45.5)

  • #6DCBA5

    #6DCBA5

    oklch(77.3% 0.106 165.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACF7

    #AFACF7

    oklch(77.5% 0.106 285.5)

  • #F2999F

    #F2999F

    oklch(77.5% 0.107 15.5)

  • #BFBA66

    #BFBA66

    oklch(77.5% 0.107 105.6)

  • #53CBCB

    #53CBCB

    oklch(77.5% 0.106 195.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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