#AF9FCB

Closest named color: Pale Purple (#B790D4). oklch(73.1% 0.065 301.4), rgb(175, 159, 203).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromamuted (0.065)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.64:1
White text2.42:1

Values

HEX#AF9FCB
RGBrgb(175, 159, 203)
HSLhsl(262, 30%, 71%)
OKLCHoklch(73.1% 0.065 301.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 #AF9FCB 2.42:1 Fails Lc -52.8 Large or bold text, headings
Black text on #AF9FCB 8.64:1 AAA Lc 56.2 Large or bold text, headings
#AF9FCB text on white 2.42:1 Fails Lc 47.8 Large or bold text, headings
#AF9FCB text on black 8.64:1 AAA Lc -54.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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DBD6E6

    oklch(88.5% 0.022 300.2)

  4. Step 300

    300

    #C5BBD7

    oklch(80.9% 0.04 301.7)

  5. Step 400

    400 (this color)

    #AF9FCB

    oklch(73.1% 0.065 301.4)

  6. Step 500

    500

    #927EB4

    oklch(63.2% 0.082 301.1)

  7. Step 600

    600

    #7D66A0

    oklch(55.6% 0.091 301.7)

  8. Step 700

    700

    #695589

    oklch(49.1% 0.084 301.1)

  9. Step 800

    800

    #56466F

    oklch(42.8% 0.069 301.5)

  10. Step 900

    900

    #473B5A

    oklch(37.8% 0.054 301.7)

  11. Step 950

    950

    #292235

    oklch(26.9% 0.036 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF9FCB 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)#97A6CD0.036
Deuteranopia (no green cones)#99A6CA0.035
Tritanopia (no blue cones)#ABA5AE0.051
Achromatopsia (no color)#A6A6A60.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9FCB

    #AF9FCB

    oklch(73.1% 0.065 301.4)

  • #A1AF81

    #A1AF81

    oklch(73.1% 0.065 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9FCB

    #AF9FCB

    oklch(73.1% 0.065 301.4)

  • #99A6D2

    #99A6D2

    oklch(73.1% 0.066 271.9)

  • #C19ABB

    #C19ABB

    oklch(73.2% 0.064 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF9FCB

    #AF9FCB

    oklch(73.1% 0.065 301.4)

  • #B7A779

    #B7A779

    oklch(73.1% 0.065 91.1)

  • #8AB494

    #8AB494

    oklch(73% 0.064 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9FCB

    #AF9FCB

    oklch(73.1% 0.065 301.4)

  • #C79F7E

    #C79F7E

    oklch(73.1% 0.066 61)

  • #79B6AB

    #79B6AB

    oklch(73.1% 0.065 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9FCB

    #AF9FCB

    oklch(73.1% 0.065 301.4)

  • #CE998F

    #CE998F

    oklch(73.1% 0.066 30.8)

  • #A1AF81

    #A1AF81

    oklch(73.1% 0.065 121.8)

  • #77B4C0

    #77B4C0

    oklch(73.3% 0.065 211.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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