#AFAFD2

Closest named color: Light Grey Blue (#9DBCD4). oklch(76.6% 0.05 285.2), rgb(175, 175, 210).

Aa

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

About this color

#AFAFD2 is a medium-light, muted purple. In OKLCH its lightness is 77%, its chroma 0.050 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Light Grey Blue (#9DBCD4), ΔE 0.039 away. Black text reads best on it, at 9.88:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamuted (0.050)
Temperaturecool
Nearest nameLight Grey Blue (#9DBCD4)
Black text9.88:1
White text2.12:1

Values

HEX#AFAFD2
RGBrgb(175, 175, 210)
HSLhsl(240, 28%, 75%)
OKLCHoklch(76.6% 0.05 285.2)

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 #AFAFD2 2.12:1 Fails Lc -46.3 Large or bold text, headings
Black text on #AFAFD2 9.88:1 AAA Lc 62.3 Content text, not long reading
#AFAFD2 text on white 2.12:1 Fails Lc 41.7 Non-text elements, placeholder text
#AFAFD2 text on black 9.88:1 AAA Lc -60.6 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D7D7EB

    oklch(88.5% 0.027 285.8)

  4. Step 300

    300 (this color)

    #AFAFD2

    oklch(76.6% 0.05 285.2)

  5. Step 400

    400

    #9B9AD1

    oklch(70.7% 0.08 285)

  6. Step 500

    500

    #8380C5

    oklch(63.1% 0.103 285)

  7. Step 600

    600

    #6D69B1

    oklch(55.6% 0.11 284.8)

  8. Step 700

    700

    #5B5798

    oklch(49.1% 0.102 284.8)

  9. Step 800

    800

    #4B477B

    oklch(42.6% 0.085 285.7)

  10. Step 900

    900

    #3E3C63

    oklch(37.7% 0.066 285.1)

  11. Step 950

    950

    #24233A

    oklch(26.9% 0.042 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFD2 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)#A7B3D40.014
Deuteranopia (no green cones)#A6B1D10.013
Tritanopia (no blue cones)#A8B5BB0.043
Achromatopsia (no color)#B2B2B20.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFD2

    #AFAFD2

    oklch(76.6% 0.05 285.2)

  • #B7B591

    #B7B591

    oklch(76.5% 0.049 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFD2

    #AFAFD2

    oklch(76.6% 0.05 285.2)

  • #9EB5D3

    #9EB5D3

    oklch(76.6% 0.05 255.2)

  • #BFAAC9

    #BFAAC9

    oklch(76.6% 0.049 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFD2

    #AFAFD2

    oklch(76.6% 0.05 285.2)

  • #C6AF90

    #C6AF90

    oklch(76.6% 0.05 75.1)

  • #A5BA9B

    #A5BA9B

    oklch(76.4% 0.049 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFD2

    #AFAFD2

    oklch(76.6% 0.05 285.2)

  • #CFAA99

    #CFAA99

    oklch(76.7% 0.05 46)

  • #96BDAB

    #96BDAB

    oklch(76.5% 0.049 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFD2

    #AFAFD2

    oklch(76.6% 0.05 285.2)

  • #D1A7A9

    #D1A7A9

    oklch(76.7% 0.05 15.1)

  • #B7B591

    #B7B591

    oklch(76.5% 0.049 104.9)

  • #8EBDBD

    #8EBDBD

    oklch(76.5% 0.05 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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