#AFA5CC

Closest named color: Cool Steel (#97A7B3). oklch(74.3% 0.056 296.8), rgb(175, 165, 204).

Aa

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

About this color

#AFA5CC is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.056 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Steel (#97A7B3), ΔE 0.053 away. Black text reads best on it, at 9.07:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.056)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text9.07:1
White text2.31:1

Values

HEX#AFA5CC
RGBrgb(175, 165, 204)
HSLhsl(255, 28%, 72%)
OKLCHoklch(74.3% 0.056 296.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 #AFA5CC 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #AFA5CC 9.07:1 AAA Lc 58.3 Large or bold text, headings
#AFA5CC text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#AFA5CC text on black 9.07:1 AAA Lc -56.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE8F0

    oklch(93.5% 0.011 297.6)

  3. Step 200

    200

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C2BCD5

    oklch(80.8% 0.035 296.6)

  5. Step 400

    400 (this color)

    #AFA5CC

    oklch(74.3% 0.056 296.8)

  6. Step 500

    500

    #8E81B0

    oklch(63.2% 0.071 297)

  7. Step 600

    600

    #786A9C

    oklch(55.7% 0.078 296.7)

  8. Step 700

    700

    #655885

    oklch(49.1% 0.072 296.9)

  9. Step 800

    800

    #52486C

    oklch(42.7% 0.06 296.5)

  10. Step 900

    900

    #443C58

    oklch(37.6% 0.048 297.2)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5CC 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)#9DABCE0.027
Deuteranopia (no green cones)#9EAACB0.026
Tritanopia (no blue cones)#AAABB20.047
Achromatopsia (no color)#AAAAAA0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5CC

    #AFA5CC

    oklch(74.3% 0.056 296.8)

  • #A9B188

    #A9B188

    oklch(74.3% 0.057 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5CC

    #AFA5CC

    oklch(74.3% 0.056 296.8)

  • #9CACD1

    #9CACD1

    oklch(74.5% 0.057 266.7)

  • #C0A0BF

    #C0A0BF

    oklch(74.4% 0.057 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5CC

    #AFA5CC

    oklch(74.3% 0.056 296.8)

  • #BBAA83

    #BBAA83

    oklch(74.3% 0.057 87.2)

  • #95B697

    #95B697

    oklch(74.3% 0.057 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5CC

    #AFA5CC

    oklch(74.3% 0.056 296.8)

  • #C8A38A

    #C8A38A

    oklch(74.2% 0.056 55.7)

  • #86B8AB

    #86B8AB

    oklch(74.3% 0.056 176.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5CC

    #AFA5CC

    oklch(74.3% 0.056 296.8)

  • #CD9F99

    #CD9F99

    oklch(74.3% 0.056 27)

  • #A9B188

    #A9B188

    oklch(74.3% 0.057 116.8)

  • #81B7BE

    #81B7BE

    oklch(74.4% 0.057 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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