#AF4AB3

Closest named color: Purpley Pink (#C83CB9). oklch(58% 0.183 326.1), rgb(175, 74, 179).

Aa

White text reads best on this color (4.71:1).

About this color

#AF4AB3 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.183 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.050 away. White text reads best on it, at 4.71:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.183)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.45:1
White text4.71:1

Values

HEX#AF4AB3
RGBrgb(175, 74, 179)
HSLhsl(298, 42%, 50%)
OKLCHoklch(58% 0.183 326.1)

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 #AF4AB3 4.71:1 AA Lc -77.5 Fine for body text
Black text on #AF4AB3 4.45:1 AA large text Lc 32.0 Non-text elements, placeholder text
#AF4AB3 text on white 4.71:1 AA Lc 72.1 Content text, not long reading
#AF4AB3 text on black 4.45:1 AA large text Lc -29.6 Dividers and decoration only

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

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F3

    oklch(93.7% 0.024 325.8)

  3. Step 200

    200

    #EACFEA

    oklch(88.5% 0.047 326)

  4. Step 300

    300

    #DDAEDD

    oklch(80.8% 0.083 326.3)

  5. Step 400

    400

    #CB82CC

    oklch(70.7% 0.132 326.4)

  6. Step 500

    500

    #BC5FBF

    oklch(63.1% 0.169 326.2)

  7. Step 600

    600 (this color)

    #AF4AB3

    oklch(58% 0.183 326.1)

  8. Step 700

    700

    #8F3393

    oklch(49.1% 0.171 326.1)

  9. Step 800

    800

    #742C77

    oklch(42.7% 0.14 326.1)

  10. Step 900

    900

    #5E2860

    oklch(37.6% 0.111 326.1)

  11. Step 950

    950

    #371938

    oklch(27% 0.068 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF4AB3 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)#3C6BB60.184
Deuteranopia (no green cones)#5F78B00.160
Tritanopia (no blue cones)#B358780.105
Achromatopsia (no color)#7373730.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4AB3

    #AF4AB3

    oklch(58% 0.183 326.1)

  • #00942F

    #00942F

    oklch(58% 0.177 146.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4AB3

    #AF4AB3

    oklch(58% 0.183 326.1)

  • #875CD8

    #875CD8

    oklch(58.1% 0.183 296.2)

  • #C83E7E

    #C83E7E

    oklch(58.1% 0.183 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF4AB3

    #AF4AB3

    oklch(58% 0.183 326.1)

  • #778300

    #778300

    oklch(58% 0.133 116)

  • #008F78

    #008F78

    oklch(58.1% 0.109 176)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4AB3

    #AF4AB3

    oklch(58% 0.183 326.1)

  • #997400

    #997400

    oklch(58% 0.119 86.3)

  • #008B97

    #008B97

    oklch(58.1% 0.099 205.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4AB3

    #AF4AB3

    oklch(58% 0.183 326.1)

  • #B76000

    #B76000

    oklch(58% 0.141 56.6)

  • #00942F

    #00942F

    oklch(58% 0.177 146.1)

  • #0084BA

    #0084BA

    oklch(58% 0.125 236.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF4AB3.

Similar named colors

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

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