#AFAFF7

Closest named color: Pastel Blue (#A2BFFE). oklch(78.1% 0.102 283.8), rgb(175, 175, 247).

Aa

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

About this color

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

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

Values

HEX#AFAFF7
RGBrgb(175, 175, 247)
HSLhsl(240, 82%, 83%)
OKLCHoklch(78.1% 0.102 283.8)

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 #AFAFF7 2.03:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #AFAFF7 10.29:1 AAA Lc 64.3 Content text, not long reading
#AFAFF7 text on white 2.03:1 Fails Lc 39.7 Non-text elements, placeholder text
#AFAFF7 text on black 10.29:1 AAA Lc -62.7 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

    #D4D5FE

    oklch(88.5% 0.056 284.1)

  4. Step 300

    300 (this color)

    #AFAFF7

    oklch(78.1% 0.102 283.8)

  5. Step 400

    400

    #9690FF

    oklch(70.7% 0.159 284)

  6. Step 500

    500

    #7F6FFF

    oklch(63.1% 0.206 283.8)

  7. Step 600

    600

    #6B51F0

    oklch(55.7% 0.226 283.7)

  8. Step 700

    700

    #5A3FD1

    oklch(49.1% 0.212 283.9)

  9. Step 800

    800

    #4936A9

    oklch(42.8% 0.175 283.7)

  10. Step 900

    900

    #3C3186

    oklch(37.8% 0.136 283.6)

  11. Step 950

    950

    #231E4E

    oklch(27.1% 0.085 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFF7 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)#9BB8FA0.032
Deuteranopia (no green cones)#98B3F50.031
Tritanopia (no blue cones)#9DBCC90.088
Achromatopsia (no color)#B5B5B50.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFF7

    #AFAFF7

    oklch(78.1% 0.102 283.8)

  • #C2BB6B

    #C2BB6B

    oklch(78% 0.102 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFF7

    #AFAFF7

    oklch(78.1% 0.102 283.8)

  • #89BBF8

    #89BBF8

    oklch(78% 0.103 253.9)

  • #CFA4E6

    #CFA4E6

    oklch(78% 0.103 313.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFF7

    #AFAFF7

    oklch(78.1% 0.102 283.8)

  • #DFAE6B

    #DFAE6B

    oklch(78.1% 0.102 74)

  • #9DC683

    #9DC683

    oklch(78% 0.101 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFF7

    #AFAFF7

    oklch(78.1% 0.102 283.8)

  • #EFA282

    #EFA282

    oklch(78% 0.102 43.4)

  • #75CCA6

    #75CCA6

    oklch(78% 0.102 164.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFF7

    #AFAFF7

    oklch(78.1% 0.102 283.8)

  • #F19CA4

    #F19CA4

    oklch(78% 0.102 13.6)

  • #C2BB6B

    #C2BB6B

    oklch(78% 0.102 104.1)

  • #5CCCCA

    #5CCCCA

    oklch(78% 0.102 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 #AFAFF7, closest first.

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

Similar named colors

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

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