#AF9EC2

Closest named color: Cool Steel (#97A7B3). oklch(72.6% 0.055 306.4), rgb(175, 158, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromamuted (0.055)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text8.49:1
White text2.47:1

Values

HEX#AF9EC2
RGBrgb(175, 158, 194)
HSLhsl(268, 23%, 69%)
OKLCHoklch(72.6% 0.055 306.4)

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 #AF9EC2 2.47:1 Fails Lc -53.6 Large or bold text, headings
Black text on #AF9EC2 8.49:1 AAA Lc 55.4 Large or bold text, headings
#AF9EC2 text on white 2.47:1 Fails Lc 48.6 Large or bold text, headings
#AF9EC2 text on black 8.49:1 AAA Lc -53.4 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

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E3

    oklch(88.5% 0.019 306.6)

  4. Step 300

    300

    #C6BBD2

    oklch(80.8% 0.034 307.1)

  5. Step 400

    400 (this color)

    #AF9EC2

    oklch(72.6% 0.055 306.4)

  6. Step 500

    500

    #947FAB

    oklch(63.2% 0.069 306.2)

  7. Step 600

    600

    #7F6897

    oklch(55.7% 0.076 306.4)

  8. Step 700

    700

    #6B5680

    oklch(49.1% 0.07 306.8)

  9. Step 800

    800

    #574768

    oklch(42.8% 0.057 306.3)

  10. Step 900

    900

    #483B55

    oklch(37.7% 0.046 307.1)

  11. Step 950

    950

    #2A2332

    oklch(27.1% 0.029 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF9EC2 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)#98A4C40.034
Deuteranopia (no green cones)#9BA5C10.033
Tritanopia (no blue cones)#ADA3AA0.042
Achromatopsia (no color)#A5A5A50.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9EC2

    #AF9EC2

    oklch(72.6% 0.055 306.4)

  • #9DAD88

    #9DAD88

    oklch(72.5% 0.055 126.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9EC2

    #AF9EC2

    oklch(72.6% 0.055 306.4)

  • #9DA4C9

    #9DA4C9

    oklch(72.6% 0.054 276.6)

  • #BD9AB3

    #BD9AB3

    oklch(72.6% 0.054 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF9EC2

    #AF9EC2

    oklch(72.6% 0.055 306.4)

  • #B0A780

    #B0A780

    oklch(72.6% 0.054 96.6)

  • #8BB199

    #8BB199

    oklch(72.6% 0.054 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9EC2

    #AF9EC2

    oklch(72.6% 0.055 306.4)

  • #BEA082

    #BEA082

    oklch(72.5% 0.055 66.8)

  • #7FB2AC

    #7FB2AC

    oklch(72.6% 0.055 186.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9EC2

    #AF9EC2

    oklch(72.6% 0.055 306.4)

  • #C69B8F

    #C69B8F

    oklch(72.6% 0.055 36.1)

  • #9DAD88

    #9DAD88

    oklch(72.5% 0.055 126.7)

  • #7FB0BD

    #7FB0BD

    oklch(72.7% 0.055 216)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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