#AFAFD8

Closest named color: Light Grey Blue (#9DBCD4). oklch(76.8% 0.058 284.9), rgb(175, 175, 216).

Aa

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

About this color

#AFAFD8 is a medium-light, muted purple. In OKLCH its lightness is 77%, its chroma 0.058 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.042 away. Black text reads best on it, at 9.94:1.

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

Values

HEX#AFAFD8
RGBrgb(175, 175, 216)
HSLhsl(240, 34%, 77%)
OKLCHoklch(76.8% 0.058 284.9)

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 #AFAFD8 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #AFAFD8 9.94:1 AAA Lc 62.6 Content text, not long reading
#AFAFD8 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#AFAFD8 text on black 9.94:1 AAA Lc -60.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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EE

    oklch(88.5% 0.031 283.8)

  4. Step 300

    300 (this color)

    #AFAFD8

    oklch(76.8% 0.058 284.9)

  5. Step 400

    400

    #9A98D9

    oklch(70.6% 0.094 285.1)

  6. Step 500

    500

    #827ECE

    oklch(63% 0.119 284.7)

  7. Step 600

    600

    #6D66BB

    oklch(55.6% 0.129 285.1)

  8. Step 700

    700

    #5B54A1

    oklch(49% 0.12 285.2)

  9. Step 800

    800

    #4A4583

    oklch(42.6% 0.1 285)

  10. Step 900

    900

    #3E3B69

    oklch(37.8% 0.077 285)

  11. Step 950

    950

    #24233D

    oklch(27.1% 0.048 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFD8 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)#A5B4DA0.017
Deuteranopia (no green cones)#A4B1D70.016
Tritanopia (no blue cones)#A6B6BD0.051
Achromatopsia (no color)#B2B2B20.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFD8

    #AFAFD8

    oklch(76.8% 0.058 284.9)

  • #B9B68B

    #B9B68B

    oklch(76.8% 0.058 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFD8

    #AFAFD8

    oklch(76.8% 0.058 284.9)

  • #9BB6D9

    #9BB6D9

    oklch(76.8% 0.059 255)

  • #C2A9CE

    #C2A9CE

    oklch(76.8% 0.059 314.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFD8

    #AFAFD8

    oklch(76.8% 0.058 284.9)

  • #CAAF8B

    #CAAF8B

    oklch(76.8% 0.058 74.7)

  • #A4BC97

    #A4BC97

    oklch(76.7% 0.058 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFD8

    #AFAFD8

    oklch(76.8% 0.058 284.9)

  • #D4A995

    #D4A995

    oklch(76.9% 0.058 46.2)

  • #91C0AA

    #91C0AA

    oklch(76.8% 0.059 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFD8

    #AFAFD8

    oklch(76.8% 0.058 284.9)

  • #D6A5A8

    #D6A5A8

    oklch(76.8% 0.058 14.4)

  • #B9B68B

    #B9B68B

    oklch(76.8% 0.058 104.4)

  • #87C0BF

    #87C0BF

    oklch(76.8% 0.059 194.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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