#AFA2CA

Closest named color: Cool Steel (#97A7B3). oklch(73.7% 0.059 299.8), rgb(175, 162, 202).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.059)
Temperaturein between
Nearest nameCool Steel (#97A7B3)
Black text8.84:1
White text2.37:1

Values

HEX#AFA2CA
RGBrgb(175, 162, 202)
HSLhsl(260, 27%, 71%)
OKLCHoklch(73.7% 0.059 299.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 #AFA2CA 2.37:1 Fails Lc -51.8 Large or bold text, headings
Black text on #AFA2CA 8.84:1 AAA Lc 57.2 Large or bold text, headings
#AFA2CA text on white 2.37:1 Fails Lc 46.8 Large or bold text, headings
#AFA2CA text on black 8.84:1 AAA Lc -55.2 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

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C4BCD5

    oklch(81% 0.036 300.2)

  5. Step 400

    400 (this color)

    #AFA2CA

    oklch(73.7% 0.059 299.8)

  6. Step 500

    500

    #907FB1

    oklch(63% 0.076 299.8)

  7. Step 600

    600

    #7A689C

    oklch(55.5% 0.081 299.7)

  8. Step 700

    700

    #675786

    oklch(49.2% 0.076 299.3)

  9. Step 800

    800

    #54476C

    oklch(42.7% 0.062 299.9)

  10. Step 900

    900

    #453C58

    oklch(37.7% 0.048 298.8)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2CA 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)#9AA8CC0.031
Deuteranopia (no green cones)#9CA8C90.030
Tritanopia (no blue cones)#ABA8AF0.048
Achromatopsia (no color)#A8A8A80.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2CA

    #AFA2CA

    oklch(73.7% 0.059 299.8)

  • #A5B086

    #A5B086

    oklch(73.8% 0.059 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2CA

    #AFA2CA

    oklch(73.7% 0.059 299.8)

  • #9BA9D0

    #9BA9D0

    oklch(73.7% 0.059 269.5)

  • #C09DBC

    #C09DBC

    oklch(73.7% 0.059 329.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2CA

    #AFA2CA

    oklch(73.7% 0.059 299.8)

  • #B8A980

    #B8A980

    oklch(73.7% 0.058 90.3)

  • #90B596

    #90B596

    oklch(73.7% 0.06 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2CA

    #AFA2CA

    oklch(73.7% 0.059 299.8)

  • #C6A285

    #C6A285

    oklch(73.7% 0.059 60.6)

  • #81B6AB

    #81B6AB

    oklch(73.6% 0.058 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2CA

    #AFA2CA

    oklch(73.7% 0.059 299.8)

  • #CC9D94

    #CC9D94

    oklch(73.7% 0.058 30.9)

  • #A5B086

    #A5B086

    oklch(73.8% 0.059 119.8)

  • #7EB4BE

    #7EB4BE

    oklch(73.6% 0.058 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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