#AFACF4

Closest named color: Pale Violet (#CEAEFA). oklch(77.3% 0.102 285.7), rgb(175, 172, 244).

Aa

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

About this color

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

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

Values

HEX#AFACF4
RGBrgb(175, 172, 244)
HSLhsl(242, 77%, 82%)
OKLCHoklch(77.3% 0.102 285.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 #AFACF4 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #AFACF4 10.03:1 AAA Lc 63.0 Content text, not long reading
#AFACF4 text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#AFACF4 text on black 10.03:1 AAA Lc -61.3 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

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D5D4FE

    oklch(88.4% 0.058 286.3)

  4. Step 300

    300 (this color)

    #AFACF4

    oklch(77.3% 0.102 285.7)

  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

    #6F4FEE

    oklch(55.6% 0.226 285.7)

  8. Step 700

    700

    #5E3ED0

    oklch(49.2% 0.211 285.7)

  9. Step 800

    800

    #4C35A8

    oklch(42.8% 0.174 285.5)

  10. Step 900

    900

    #3E3085

    oklch(37.7% 0.136 285.4)

  11. Step 950

    950

    #241D4E

    oklch(27% 0.087 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFACF4 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)#98B5F70.035
Deuteranopia (no green cones)#96B1F20.034
Tritanopia (no blue cones)#9FB9C60.088
Achromatopsia (no color)#B3B3B30.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACF4

    #AFACF4

    oklch(77.3% 0.102 285.7)

  • #BEB96A

    #BEB96A

    oklch(77.2% 0.101 105.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACF4

    #AFACF4

    oklch(77.3% 0.102 285.7)

  • #89B8F6

    #89B8F6

    oklch(77.3% 0.103 255.6)

  • #CFA1E2

    #CFA1E2

    oklch(77.3% 0.103 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFACF4

    #AFACF4

    oklch(77.3% 0.102 285.7)

  • #DBAC68

    #DBAC68

    oklch(77.3% 0.102 75.5)

  • #98C482

    #98C482

    oklch(77.2% 0.102 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACF4

    #AFACF4

    oklch(77.3% 0.102 285.7)

  • #ECA17E

    #ECA17E

    oklch(77.4% 0.102 45.8)

  • #71CAA6

    #71CAA6

    oklch(77.3% 0.101 165.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACF4

    #AFACF4

    oklch(77.3% 0.102 285.7)

  • #EF9AA0

    #EF9AA0

    oklch(77.3% 0.102 15.1)

  • #BEB96A

    #BEB96A

    oklch(77.2% 0.101 105.3)

  • #59CACA

    #59CACA

    oklch(77.4% 0.102 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 #AFACF4, closest first.

Similar named colors

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

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