#AF7CB2

Closest named color: Wisteria (#A87DC2). oklch(65.6% 0.097 324.7), rgb(175, 124, 178).

Aa

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

About this color

#AF7CB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.097 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.026 away. Black text reads best on it, at 6.34:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.34:1
White text3.30:1

Values

HEX#AF7CB2
RGBrgb(175, 124, 178)
HSLhsl(297, 26%, 59%)
OKLCHoklch(65.6% 0.097 324.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 #AF7CB2 3.30:1 AA large text Lc -65.8 Content text, not long reading
Black text on #AF7CB2 6.34:1 AA Lc 43.7 Non-text elements, placeholder text
#AF7CB2 text on white 3.30:1 AA large text Lc 60.4 Content text, not long reading
#AF7CB2 text on black 6.34:1 AA Lc -41.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E2D3E3

    oklch(88.4% 0.027 323.9)

  4. Step 300

    300

    #D1B7D2

    oklch(81% 0.047 324.9)

  5. Step 400

    400

    #B991BB

    oklch(70.8% 0.075 324.8)

  6. Step 500

    500 (this color)

    #AF7CB2

    oklch(65.6% 0.097 324.7)

  7. Step 600

    600

    #925C96

    oklch(55.5% 0.107 324.5)

  8. Step 700

    700

    #7C4C7F

    oklch(49.1% 0.097 324.8)

  9. Step 800

    800

    #653E68

    oklch(42.6% 0.083 324.4)

  10. Step 900

    900

    #523554

    oklch(37.5% 0.064 324.5)

  11. Step 950

    950

    #301F31

    oklch(26.8% 0.041 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF7CB2 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)#7889B40.086
Deuteranopia (no green cones)#848FB00.079
Tritanopia (no blue cones)#B2818F0.059
Achromatopsia (no color)#8D8D8D0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7CB2

    #AF7CB2

    oklch(65.6% 0.097 324.7)

  • #6AA16B

    #6AA16B

    oklch(65.6% 0.098 144.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7CB2

    #AF7CB2

    oklch(65.6% 0.097 324.7)

  • #9585C6

    #9585C6

    oklch(65.6% 0.096 294.9)

  • #C07794

    #C07794

    oklch(65.5% 0.098 354.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7CB2

    #AF7CB2

    oklch(65.6% 0.097 324.7)

  • #8F984F

    #8F984F

    oklch(65.6% 0.098 114.9)

  • #44A48D

    #44A48D

    oklch(65.5% 0.097 174.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7CB2

    #AF7CB2

    oklch(65.6% 0.097 324.7)

  • #AC8C46

    #AC8C46

    oklch(65.5% 0.097 84.9)

  • #34A2AD

    #34A2AD

    oklch(65.6% 0.097 204.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7CB2

    #AF7CB2

    oklch(65.6% 0.097 324.7)

  • #BF8055

    #BF8055

    oklch(65.5% 0.098 54.5)

  • #6AA16B

    #6AA16B

    oklch(65.6% 0.098 144.8)

  • #4E9AC4

    #4E9AC4

    oklch(65.5% 0.098 235.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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