#AFA5CF

Closest named color: Cool Steel (#97A7B3). oklch(74.5% 0.061 295.8), rgb(175, 165, 207).

Aa

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

About this color

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

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

Values

HEX#AFA5CF
RGBrgb(175, 165, 207)
HSLhsl(254, 30%, 73%)
OKLCHoklch(74.5% 0.061 295.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 #AFA5CF 2.30:1 Fails Lc -50.4 Large or bold text, headings
Black text on #AFA5CF 9.10:1 AAA Lc 58.5 Large or bold text, headings
#AFA5CF text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#AFA5CF text on black 9.10:1 AAA Lc -56.6 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DAD7E6

    oklch(88.6% 0.021 295.1)

  4. Step 300

    300

    #C2BCD7

    oklch(80.9% 0.038 295.7)

  5. Step 400

    400 (this color)

    #AFA5CF

    oklch(74.5% 0.061 295.8)

  6. Step 500

    500

    #8D80B4

    oklch(63.1% 0.078 295.5)

  7. Step 600

    600

    #77699F

    oklch(55.6% 0.084 295.5)

  8. Step 700

    700

    #645788

    oklch(49% 0.078 295.6)

  9. Step 800

    800

    #52476F

    oklch(42.6% 0.066 296.1)

  10. Step 900

    900

    #443C5A

    oklch(37.7% 0.051 296.1)

  11. Step 950

    950

    #282334

    oklch(26.9% 0.032 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5CF 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)#9CABD10.029
Deuteranopia (no green cones)#9DAACE0.027
Tritanopia (no blue cones)#A9ABB30.050
Achromatopsia (no color)#ABABAB0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5CF

    #AFA5CF

    oklch(74.5% 0.061 295.8)

  • #AAB186

    #AAB186

    oklch(74.4% 0.06 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5CF

    #AFA5CF

    oklch(74.5% 0.061 295.8)

  • #9AACD4

    #9AACD4

    oklch(74.5% 0.061 265.9)

  • #C19FC1

    #C19FC1

    oklch(74.4% 0.061 326.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5CF

    #AFA5CF

    oklch(74.5% 0.061 295.8)

  • #BEAA80

    #BEAA80

    oklch(74.5% 0.061 85.4)

  • #94B795

    #94B795

    oklch(74.4% 0.061 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5CF

    #AFA5CF

    oklch(74.5% 0.061 295.8)

  • #CBA388

    #CBA388

    oklch(74.5% 0.06 55.6)

  • #83B9AB

    #83B9AB

    oklch(74.4% 0.06 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5CF

    #AFA5CF

    oklch(74.5% 0.061 295.8)

  • #D09E98

    #D09E98

    oklch(74.4% 0.061 26.4)

  • #AAB186

    #AAB186

    oklch(74.4% 0.06 115.4)

  • #7EB8BF

    #7EB8BF

    oklch(74.5% 0.061 205.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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