#AFACEF

Closest named color: Pale Violet (#CEAEFA). oklch(77.1% 0.095 286), rgb(175, 172, 239).

Aa

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

About this color

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

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

Values

HEX#AFACEF
RGBrgb(175, 172, 239)
HSLhsl(243, 68%, 81%)
OKLCHoklch(77.1% 0.095 286)

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

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300 (this color)

    #AFACEF

    oklch(77.1% 0.095 286)

  5. Step 400

    400

    #9A90FA

    oklch(70.7% 0.152 286.1)

  6. Step 500

    500

    #8370F7

    oklch(63.1% 0.194 285.8)

  7. Step 600

    600

    #6F53E6

    oklch(55.5% 0.212 286)

  8. Step 700

    700

    #5E42C8

    oklch(49.1% 0.197 286.2)

  9. Step 800

    800

    #4C38A2

    oklch(42.7% 0.163 285.9)

  10. Step 900

    900

    #3F3280

    oklch(37.7% 0.126 286.3)

  11. Step 950

    950

    #241E4B

    oklch(26.9% 0.08 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFACEF 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)#9AB4F20.032
Deuteranopia (no green cones)#98B1ED0.032
Tritanopia (no blue cones)#A0B8C40.082
Achromatopsia (no color)#B3B3B30.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACEF

    #AFACEF

    oklch(77.1% 0.095 286)

  • #BCB96F

    #BCB96F

    oklch(77.2% 0.096 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACEF

    #AFACEF

    oklch(77.1% 0.095 286)

  • #8CB7F1

    #8CB7F1

    oklch(77% 0.096 256.1)

  • #CDA2DE

    #CDA2DE

    oklch(77.2% 0.096 316.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFACEF

    #AFACEF

    oklch(77.1% 0.095 286)

  • #D8AC6E

    #D8AC6E

    oklch(77.1% 0.095 75.1)

  • #99C386

    #99C386

    oklch(77.1% 0.095 136.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACEF

    #AFACEF

    oklch(77.1% 0.095 286)

  • #E8A281

    #E8A281

    oklch(77.2% 0.095 46.1)

  • #76C8A7

    #76C8A7

    oklch(77.1% 0.094 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACEF

    #AFACEF

    oklch(77.1% 0.095 286)

  • #EB9CA0

    #EB9CA0

    oklch(77.2% 0.095 16.2)

  • #BCB96F

    #BCB96F

    oklch(77.2% 0.096 106.4)

  • #62C8C8

    #62C8C8

    oklch(77.2% 0.095 195.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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