#AFA7CA

Closest named color: French Gray (#ADB5BD). oklch(74.7% 0.05 295.6), rgb(175, 167, 202).

Aa

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

About this color

#AFA7CA is a medium-light, muted purple. In OKLCH its lightness is 75%, its chroma 0.050 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is French Gray (#ADB5BD), ΔE 0.048 away. Black text reads best on it, at 9.20:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamuted (0.050)
Temperaturein between
Nearest nameFrench Gray (#ADB5BD)
Black text9.20:1
White text2.28:1

Values

HEX#AFA7CA
RGBrgb(175, 167, 202)
HSLhsl(254, 25%, 72%)
OKLCHoklch(74.7% 0.05 295.6)

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 #AFA7CA 2.28:1 Fails Lc -49.9 Large or bold text, headings
Black text on #AFA7CA 9.20:1 AAA Lc 59.0 Large or bold text, headings
#AFA7CA text on white 2.28:1 Fails Lc 45.0 Large or bold text, headings
#AFA7CA text on black 9.20:1 AAA Lc -57.1 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C2BDD3

    oklch(80.9% 0.031 296.1)

  5. Step 400

    400 (this color)

    #AFA7CA

    oklch(74.7% 0.05 295.6)

  6. Step 500

    500

    #8C82AD

    oklch(63.1% 0.065 295.1)

  7. Step 600

    600

    #766B98

    oklch(55.5% 0.07 295.3)

  8. Step 700

    700

    #645982

    oklch(49.1% 0.066 296.2)

  9. Step 800

    800

    #51496A

    oklch(42.7% 0.055 295.1)

  10. Step 900

    900

    #433D56

    oklch(37.7% 0.043 295.3)

  11. Step 950

    950

    #272432

    oklch(27% 0.026 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA7CA 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)#A0ACCC0.023
Deuteranopia (no green cones)#A1ABC90.022
Tritanopia (no blue cones)#AAACB30.041
Achromatopsia (no color)#ACACAC0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA7CA

    #AFA7CA

    oklch(74.7% 0.05 295.6)

  • #ABB18D

    #ABB18D

    oklch(74.6% 0.05 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA7CA

    #AFA7CA

    oklch(74.7% 0.05 295.6)

  • #9EADCE

    #9EADCE

    oklch(74.7% 0.051 265.9)

  • #BEA2BF

    #BEA2BF

    oklch(74.6% 0.052 325)

Open the analogous palette in the generator

Split complementary

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

  • #AFA7CA

    #AFA7CA

    oklch(74.7% 0.05 295.6)

  • #BBAB89

    #BBAB89

    oklch(74.6% 0.05 85.7)

  • #99B69A

    #99B69A

    oklch(74.7% 0.051 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA7CA

    #AFA7CA

    oklch(74.7% 0.05 295.6)

  • #C7A58F

    #C7A58F

    oklch(74.7% 0.051 54.7)

  • #8CB8AB

    #8CB8AB

    oklch(74.7% 0.051 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA7CA

    #AFA7CA

    oklch(74.7% 0.05 295.6)

  • #CBA19D

    #CBA19D

    oklch(74.6% 0.05 24.7)

  • #ABB18D

    #ABB18D

    oklch(74.6% 0.05 115.3)

  • #88B7BC

    #88B7BC

    oklch(74.8% 0.05 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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