#AF8CB2

Closest named color: Dusty Lavender (#AC86A8). oklch(68.5% 0.068 323.7), rgb(175, 140, 178).

Aa

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

About this color

#AF8CB2 is a medium-light, muted purple. In OKLCH its lightness is 69%, its chroma 0.068 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.019 away. Black text reads best on it, at 7.21:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamuted (0.068)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text7.21:1
White text2.90:1

Values

HEX#AF8CB2
RGBrgb(175, 140, 178)
HSLhsl(295, 20%, 62%)
OKLCHoklch(68.5% 0.068 323.7)

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 #AF8CB2 2.90:1 Fails Lc -60.7 Content text, not long reading
Black text on #AF8CB2 7.21:1 AAA Lc 48.6 Large or bold text, headings
#AF8CB2 text on white 2.90:1 Fails Lc 55.4 Large or bold text, headings
#AF8CB2 text on black 7.21:1 AAA Lc -46.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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200

    #E1D4E2

    oklch(88.5% 0.024 323.6)

  4. Step 300

    300

    #CFB8D0

    oklch(80.9% 0.042 324.7)

  5. Step 400

    400 (this color)

    #AF8CB2

    oklch(68.5% 0.068 323.7)

  6. Step 500

    500

    #A377A7

    oklch(63% 0.087 323.7)

  7. Step 600

    600

    #8E6093

    oklch(55.6% 0.094 323.3)

  8. Step 700

    700

    #794F7D

    oklch(49.2% 0.087 323.7)

  9. Step 800

    800

    #624166

    oklch(42.7% 0.072 322.9)

  10. Step 900

    900

    #503753

    oklch(37.7% 0.057 322.9)

  11. Step 950

    950

    #2F2030

    oklch(26.9% 0.036 324.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF8CB2 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)#8995B40.058
Deuteranopia (no green cones)#9199B10.054
Tritanopia (no blue cones)#B18F990.041
Achromatopsia (no color)#9797970.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8CB2

    #AF8CB2

    oklch(68.5% 0.068 323.7)

  • #81A57F

    #81A57F

    oklch(68.5% 0.068 143.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8CB2

    #AF8CB2

    oklch(68.5% 0.068 323.7)

  • #9B92C0

    #9B92C0

    oklch(68.4% 0.068 293.5)

  • #BC899D

    #BC899D

    oklch(68.6% 0.067 353.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF8CB2

    #AF8CB2

    oklch(68.5% 0.068 323.7)

  • #999F6E

    #999F6E

    oklch(68.5% 0.068 113.9)

  • #6CA896

    #6CA896

    oklch(68.5% 0.068 173.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8CB2

    #AF8CB2

    oklch(68.5% 0.068 323.7)

  • #AE9769

    #AE9769

    oklch(68.6% 0.068 84.2)

  • #65A6AD

    #65A6AD

    oklch(68.4% 0.067 204.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8CB2

    #AF8CB2

    oklch(68.5% 0.068 323.7)

  • #BC8F72

    #BC8F72

    oklch(68.6% 0.068 54.1)

  • #81A57F

    #81A57F

    oklch(68.5% 0.068 143.5)

  • #6FA1BE

    #6FA1BE

    oklch(68.4% 0.068 234.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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