#AFA5BB

Closest named color: Dark Gray (#A9A9A9). oklch(73.7% 0.033 306), rgb(175, 165, 187).

Aa

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

About this color

#AFA5BB is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.033 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.033 away. Black text reads best on it, at 8.92:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.033)
Temperaturein between
Nearest nameDark Gray (#A9A9A9)
Black text8.92:1
White text2.35:1

Values

HEX#AFA5BB
RGBrgb(175, 165, 187)
HSLhsl(267, 14%, 69%)
OKLCHoklch(73.7% 0.033 306)

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 #AFA5BB 2.35:1 Fails Lc -51.4 Large or bold text, headings
Black text on #AFA5BB 8.92:1 AAA Lc 57.6 Large or bold text, headings
#AFA5BB text on white 2.35:1 Fails Lc 46.4 Large or bold text, headings
#AFA5BB text on black 8.92:1 AAA Lc -55.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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DBD7DF

    oklch(88.5% 0.012 308.3)

  4. Step 300

    300

    #C4BDCB

    oklch(80.8% 0.021 308.2)

  5. Step 400

    400 (this color)

    #AFA5BB

    oklch(73.7% 0.033 306)

  6. Step 500

    500

    #90839E

    oklch(63.1% 0.043 306.9)

  7. Step 600

    600

    #7A6D89

    oklch(55.7% 0.045 306)

  8. Step 700

    700

    #675B74

    oklch(49.2% 0.042 306.7)

  9. Step 800

    800

    #544A5F

    oklch(42.7% 0.036 306.5)

  10. Step 900

    900

    #453E4D

    oklch(37.7% 0.027 306.2)

  11. Step 950

    950

    #28242D

    oklch(26.9% 0.017 305.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA5BB 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)#A2A9BC0.020
Deuteranopia (no green cones)#A3A9BA0.020
Tritanopia (no blue cones)#ADA8AC0.026
Achromatopsia (no color)#A9A9A90.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA5BB

    #AFA5BB

    oklch(73.7% 0.033 306)

  • #A5AE98

    #A5AE98

    oklch(73.7% 0.033 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA5BB

    #AFA5BB

    oklch(73.7% 0.033 306)

  • #A4A9BF

    #A4A9BF

    oklch(73.8% 0.032 275.4)

  • #B8A2B2

    #B8A2B2

    oklch(73.6% 0.034 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFA5BB

    #AFA5BB

    oklch(73.7% 0.033 306)

  • #B0AA93

    #B0AA93

    oklch(73.7% 0.033 95)

  • #9AB1A1

    #9AB1A1

    oklch(73.8% 0.034 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA5BB

    #AFA5BB

    oklch(73.7% 0.033 306)

  • #B9A695

    #B9A695

    oklch(73.7% 0.033 64.1)

  • #93B1AD

    #93B1AD

    oklch(73.7% 0.033 186.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA5BB

    #AFA5BB

    oklch(73.7% 0.033 306)

  • #BEA39C

    #BEA39C

    oklch(73.7% 0.033 34.9)

  • #A5AE98

    #A5AE98

    oklch(73.7% 0.033 125.4)

  • #93B0B7

    #93B0B7

    oklch(73.8% 0.033 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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