#AFAFE2

Closest named color: Pastel Blue (#A2BFFE). oklch(77.2% 0.072 284.6), rgb(175, 175, 226).

Aa

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

About this color

#AFAFE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.072 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.050 away. Black text reads best on it, at 10.05:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.05:1
White text2.08:1

Values

HEX#AFAFE2
RGBrgb(175, 175, 226)
HSLhsl(240, 47%, 79%)
OKLCHoklch(77.2% 0.072 284.6)

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 #AFAFE2 2.08:1 Fails Lc -45.4 Large or bold text, headings
Black text on #AFAFE2 10.05:1 AAA Lc 63.1 Content text, not long reading
#AFAFE2 text on white 2.08:1 Fails Lc 40.8 Non-text elements, placeholder text
#AFAFE2 text on black 10.05:1 AAA Lc -61.4 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D5D6F3

    oklch(88.4% 0.04 284)

  4. Step 300

    300 (this color)

    #AFAFE2

    oklch(77.2% 0.072 284.6)

  5. Step 400

    400

    #9996E6

    oklch(70.7% 0.116 284.7)

  6. Step 500

    500

    #817ADF

    oklch(63.2% 0.148 284.4)

  7. Step 600

    600

    #6C61CC

    oklch(55.7% 0.16 284.6)

  8. Step 700

    700

    #5A4FB1

    oklch(49.1% 0.15 284.5)

  9. Step 800

    800

    #49418F

    oklch(42.6% 0.125 284.4)

  10. Step 900

    900

    #3D3872

    oklch(37.7% 0.096 284.7)

  11. Step 950

    950

    #242143

    oklch(27% 0.062 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFE2 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)#A2B5E40.021
Deuteranopia (no green cones)#A0B2E10.021
Tritanopia (no blue cones)#A4B8C00.064
Achromatopsia (no color)#B3B3B30.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFE2

    #AFAFE2

    oklch(77.2% 0.072 284.6)

  • #BCB882

    #BCB882

    oklch(77.3% 0.072 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFE2

    #AFAFE2

    oklch(77.2% 0.072 284.6)

  • #96B8E3

    #96B8E3

    oklch(77.3% 0.072 254.5)

  • #C6A7D5

    #C6A7D5

    oklch(77.1% 0.073 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFE2

    #AFAFE2

    oklch(77.2% 0.072 284.6)

  • #D1AF81

    #D1AF81

    oklch(77.3% 0.073 74.8)

  • #A2C091

    #A2C091

    oklch(77.3% 0.073 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFE2

    #AFAFE2

    oklch(77.2% 0.072 284.6)

  • #DDA78F

    #DDA78F

    oklch(77.3% 0.072 45.1)

  • #89C4A9

    #89C4A9

    oklch(77.2% 0.072 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFE2

    #AFAFE2

    oklch(77.2% 0.072 284.6)

  • #DFA2A6

    #DFA2A6

    oklch(77.1% 0.073 14.5)

  • #BCB882

    #BCB882

    oklch(77.3% 0.072 104.4)

  • #7BC4C3

    #7BC4C3

    oklch(77.2% 0.073 194.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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