#AFACFE

Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.116 285), rgb(175, 172, 254).

Aa

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

About this color

#AFACFE is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.116 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.15:1.

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

Values

HEX#AFACFE
RGBrgb(175, 172, 254)
HSLhsl(242, 98%, 84%)
OKLCHoklch(77.8% 0.116 285)

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 #AFACFE 2.06:1 Fails Lc -44.9 Non-text elements, placeholder text
Black text on #AFACFE 10.15:1 AAA Lc 63.6 Content text, not long reading
#AFACFE text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#AFACFE text on black 10.15:1 AAA Lc -62.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E7FF

    oklch(93.5% 0.032 285.8)

  3. Step 200

    200

    #D4D4FF

    oklch(88.4% 0.059 285.1)

  4. Step 300

    300 (this color)

    #AFACFE

    oklch(77.8% 0.116 285)

  5. Step 400

    400

    #988FFF

    oklch(70.7% 0.16 285.2)

  6. Step 500

    500

    #826EFF

    oklch(63.2% 0.207 285.1)

  7. Step 600

    600

    #6F44FF

    oklch(55.6% 0.257 285)

  8. Step 700

    700

    #5E32DF

    oklch(49.1% 0.24 285)

  9. Step 800

    800

    #4C2CB4

    oklch(42.7% 0.199 285)

  10. Step 900

    900

    #3E2B8E

    oklch(37.7% 0.155 285)

  11. Step 950

    950

    #241B53

    oklch(27% 0.098 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFACFE 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)#94B7FF0.042
Deuteranopia (no green cones)#92B2FC0.039
Tritanopia (no blue cones)#9BBBCA0.100
Achromatopsia (no color)#B4B4B40.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACFE

    #AFACFE

    oklch(77.8% 0.116 285)

  • #C2BB5E

    #C2BB5E

    oklch(77.9% 0.116 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACFE

    #AFACFE

    oklch(77.8% 0.116 285)

  • #84BAFF

    #84BAFF

    oklch(77.8% 0.114 255)

  • #D3A0EA

    #D3A0EA

    oklch(77.9% 0.116 315)

Open the analogous palette in the generator

Split complementary

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

  • #AFACFE

    #AFACFE

    oklch(77.8% 0.116 285)

  • #E2AC5C

    #E2AC5C

    oklch(77.9% 0.116 75.4)

  • #96C77B

    #96C77B

    oklch(77.7% 0.115 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACFE

    #AFACFE

    oklch(77.8% 0.116 285)

  • #F49E77

    #F49E77

    oklch(77.7% 0.116 45)

  • #66CEA4

    #66CEA4

    oklch(77.8% 0.116 164.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACFE

    #AFACFE

    oklch(77.8% 0.116 285)

  • #F8979F

    #F8979F

    oklch(77.8% 0.117 14.8)

  • #C2BB5E

    #C2BB5E

    oklch(77.9% 0.116 104.9)

  • #43CECE

    #43CECE

    oklch(77.9% 0.116 195)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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