#AFAFFA

Closest named color: Pastel Blue (#A2BFFE). oklch(78.2% 0.106 283.7), rgb(175, 175, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.33:1
White text2.03:1

Values

HEX#AFAFFA
RGBrgb(175, 175, 250)
HSLhsl(240, 88%, 83%)
OKLCHoklch(78.2% 0.106 283.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 #AFAFFA 2.03:1 Fails Lc -44.0 Non-text elements, placeholder text
Black text on #AFAFFA 10.33:1 AAA Lc 64.5 Content text, not long reading
#AFAFFA text on white 2.03:1 Fails Lc 39.5 Non-text elements, placeholder text
#AFAFFA text on black 10.33:1 AAA Lc -62.9 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

    #E7E8FE

    oklch(93.7% 0.03 283.7)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300 (this color)

    #AFAFFA

    oklch(78.2% 0.106 283.7)

  5. Step 400

    400

    #9590FF

    oklch(70.6% 0.159 283.6)

  6. Step 500

    500

    #7F6FFF

    oklch(63.1% 0.206 283.8)

  7. Step 600

    600

    #6B4EF5

    oklch(55.7% 0.236 283.6)

  8. Step 700

    700

    #5A3CD5

    oklch(49% 0.22 283.8)

  9. Step 800

    800

    #4934AC

    oklch(42.7% 0.181 283.7)

  10. Step 900

    900

    #3C3088

    oklch(37.8% 0.141 283.6)

  11. Step 950

    950

    #231D50

    oklch(27.1% 0.09 284)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFFA 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)#99B8FD0.034
Deuteranopia (no green cones)#97B4F80.033
Tritanopia (no blue cones)#9CBDCA0.093
Achromatopsia (no color)#B6B6B60.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFFA

    #AFAFFA

    oklch(78.2% 0.106 283.7)

  • #C3BB68

    #C3BB68

    oklch(78.1% 0.105 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFFA

    #AFAFFA

    oklch(78.2% 0.106 283.7)

  • #87BCFB

    #87BCFB

    oklch(78.3% 0.106 253.3)

  • #D0A4E8

    #D0A4E8

    oklch(78.2% 0.105 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFFA

    #AFAFFA

    oklch(78.2% 0.106 283.7)

  • #E1AE68

    #E1AE68

    oklch(78.3% 0.106 74)

  • #9CC780

    #9CC780

    oklch(78.1% 0.107 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFFA

    #AFAFFA

    oklch(78.2% 0.106 283.7)

  • #F1A280

    #F1A280

    oklch(78.2% 0.105 44)

  • #72CEA5

    #72CEA5

    oklch(78.3% 0.107 163.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFFA

    #AFAFFA

    oklch(78.2% 0.106 283.7)

  • #F49BA4

    #F49BA4

    oklch(78.2% 0.107 13.3)

  • #C3BB68

    #C3BB68

    oklch(78.1% 0.105 103.7)

  • #56CDCB

    #56CDCB

    oklch(78.1% 0.106 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 #AFAFFA, closest first.

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

Similar named colors

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

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