#AFAFFF

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

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.39:1
White text2.01:1

Values

HEX#AFAFFF
RGBrgb(175, 175, 255)
HSLhsl(240, 100%, 84%)
OKLCHoklch(78.4% 0.113 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 #AFAFFF 2.01:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #AFAFFF 10.39:1 AAA Lc 64.8 Content text, not long reading
#AFAFFF text on white 2.01:1 Fails Lc 39.2 Non-text elements, placeholder text
#AFAFFF text on black 10.39:1 AAA Lc -63.2 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)

    #AFAFFF

    oklch(78.4% 0.113 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

    #6B48FD

    oklch(55.6% 0.251 283.5)

  8. Step 700

    700

    #5A37DD

    oklch(49.2% 0.234 283.3)

  9. Step 800

    800

    #4930B2

    oklch(42.7% 0.193 283.4)

  10. Step 900

    900

    #3C2D8D

    oklch(37.7% 0.151 283.6)

  11. Step 950

    950

    #231C52

    oklch(27% 0.095 284)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFFF 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)#97B9FF0.038
Deuteranopia (no green cones)#95B4FD0.035
Tritanopia (no blue cones)#9BBECC0.099
Achromatopsia (no color)#B6B6B60.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #C5BC62

    #C5BC62

    oklch(78.4% 0.113 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #85BCFF

    #85BCFF

    oklch(78.3% 0.112 253.9)

  • #D3A3EC

    #D3A3EC

    oklch(78.5% 0.113 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #E4AD62

    #E4AD62

    oklch(78.3% 0.113 73.4)

  • #9BC97D

    #9BC97D

    oklch(78.5% 0.114 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #F6A07D

    #F6A07D

    oklch(78.4% 0.114 42.8)

  • #6DD0A5

    #6DD0A5

    oklch(78.5% 0.113 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFFF

    #AFAFFF

    oklch(78.4% 0.113 283.5)

  • #F89AA3

    #F89AA3

    oklch(78.4% 0.113 13.8)

  • #C5BC62

    #C5BC62

    oklch(78.4% 0.113 103.5)

  • #4CCFCD

    #4CCFCD

    oklch(78.3% 0.113 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 #AFAFFF, closest first.

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

Similar named colors

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

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