#AFA2CB

Closest named color: Pale Purple (#B790D4). oklch(73.7% 0.06 299.4), rgb(175, 162, 203).

Aa

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

About this color

#AFA2CB is a medium-light, muted purple. In OKLCH its lightness is 74%, its chroma 0.060 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.053 away. Black text reads best on it, at 8.85:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromamuted (0.060)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.85:1
White text2.37:1

Values

HEX#AFA2CB
RGBrgb(175, 162, 203)
HSLhsl(259, 28%, 72%)
OKLCHoklch(73.7% 0.06 299.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 #AFA2CB 2.37:1 Fails Lc -51.7 Large or bold text, headings
Black text on #AFA2CB 8.85:1 AAA Lc 57.2 Large or bold text, headings
#AFA2CB text on white 2.37:1 Fails Lc 46.8 Large or bold text, headings
#AFA2CB text on black 8.85:1 AAA Lc -55.3 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

    #C4BCD6

    oklch(81% 0.037 299.6)

  5. Step 400

    400 (this color)

    #AFA2CB

    oklch(73.7% 0.06 299.4)

  6. Step 500

    500

    #907FB2

    oklch(63.1% 0.078 299.5)

  7. Step 600

    600

    #7A689D

    oklch(55.5% 0.083 299.3)

  8. Step 700

    700

    #675687

    oklch(49% 0.079 299.4)

  9. Step 800

    800

    #54476D

    oklch(42.7% 0.064 299.4)

  10. Step 900

    900

    #453C59

    oklch(37.8% 0.05 298.2)

  11. Step 950

    950

    #292334

    oklch(27.1% 0.032 300.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA2CB 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)#9AA8CD0.031
Deuteranopia (no green cones)#9CA8CA0.030
Tritanopia (no blue cones)#AAA8B00.048
Achromatopsia (no color)#A8A8A80.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA2CB

    #AFA2CB

    oklch(73.7% 0.06 299.4)

  • #A5B085

    #A5B085

    oklch(73.7% 0.061 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA2CB

    #AFA2CB

    oklch(73.7% 0.06 299.4)

  • #9BA9D1

    #9BA9D1

    oklch(73.8% 0.06 269.8)

  • #C09DBD

    #C09DBD

    oklch(73.8% 0.06 329)

Open the analogous palette in the generator

Split complementary

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

  • #AFA2CB

    #AFA2CB

    oklch(73.7% 0.06 299.4)

  • #B9A97F

    #B9A97F

    oklch(73.8% 0.06 89.6)

  • #90B596

    #90B596

    oklch(73.7% 0.06 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA2CB

    #AFA2CB

    oklch(73.7% 0.06 299.4)

  • #C7A184

    #C7A184

    oklch(73.6% 0.06 59)

  • #80B7AB

    #80B7AB

    oklch(73.8% 0.06 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA2CB

    #AFA2CB

    oklch(73.7% 0.06 299.4)

  • #CD9C94

    #CD9C94

    oklch(73.6% 0.06 29.2)

  • #A5B085

    #A5B085

    oklch(73.7% 0.061 119.6)

  • #7DB5BF

    #7DB5BF

    oklch(73.8% 0.06 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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