#AFAFFE

Closest named color: Pastel Blue (#A2BFFE). oklch(78.4% 0.112 283.5), rgb(175, 175, 254).

Aa

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

About this color

#AFAFFE is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.112 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.043 away. Black text reads best on it, at 10.38:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.38:1
White text2.02:1

Values

HEX#AFAFFE
RGBrgb(175, 175, 254)
HSLhsl(240, 98%, 84%)
OKLCHoklch(78.4% 0.112 283.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 #AFAFFE 2.02:1 Fails Lc -43.7 Non-text elements, placeholder text
Black text on #AFAFFE 10.38:1 AAA Lc 64.7 Content text, not long reading
#AFAFFE text on white 2.02:1 Fails Lc 39.2 Non-text elements, placeholder text
#AFAFFE text on black 10.38:1 AAA Lc -63.1 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

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300 (this color)

    #AFAFFE

    oklch(78.4% 0.112 283.5)

  5. Step 400

    400

    #9590FF

    oklch(70.6% 0.159 283.6)

  6. Step 500

    500

    #7E6FFF

    oklch(63% 0.206 283.5)

  7. Step 600

    600

    #6B49FB

    oklch(55.5% 0.248 283.6)

  8. Step 700

    700

    #5A38DB

    oklch(49.1% 0.23 283.5)

  9. Step 800

    800

    #4930B1

    oklch(42.6% 0.192 283.6)

  10. Step 900

    900

    #3C2E8C

    oklch(37.8% 0.149 283.5)

  11. Step 950

    950

    #231C52

    oklch(27% 0.095 284)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFFE 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)#98B9FF0.036
Deuteranopia (no green cones)#95B4FC0.035
Tritanopia (no blue cones)#9BBDCB0.097
Achromatopsia (no color)#B6B6B60.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFFE

    #AFAFFE

    oklch(78.4% 0.112 283.5)

  • #C5BC63

    #C5BC63

    oklch(78.4% 0.112 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFFE

    #AFAFFE

    oklch(78.4% 0.112 283.5)

  • #85BCFF

    #85BCFF

    oklch(78.3% 0.112 253.9)

  • #D2A3EB

    #D2A3EB

    oklch(78.3% 0.112 313.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFFE

    #AFAFFE

    oklch(78.4% 0.112 283.5)

  • #E4AD63

    #E4AD63

    oklch(78.3% 0.112 73.1)

  • #9CC87D

    #9CC87D

    oklch(78.3% 0.112 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFFE

    #AFAFFE

    oklch(78.4% 0.112 283.5)

  • #F5A17D

    #F5A17D

    oklch(78.4% 0.112 43.9)

  • #6ECFA5

    #6ECFA5

    oklch(78.3% 0.111 163.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFFE

    #AFAFFE

    oklch(78.4% 0.112 283.5)

  • #F79AA3

    #F79AA3

    oklch(78.3% 0.112 13.7)

  • #C5BC63

    #C5BC63

    oklch(78.4% 0.112 103.5)

  • #4ECFCD

    #4ECFCD

    oklch(78.4% 0.112 193.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AFAFFE.

Similar named colors

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

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