#AF3B9B

Closest named color: Purply (#983FB2). oklch(55.1% 0.185 335.4), rgb(175, 59, 155).

Aa

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

About this color

#AF3B9B is a medium-dark, vivid pink. In OKLCH its lightness is 55%, its chroma 0.185 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.059 away. White text reads best on it, at 5.35:1.

Hue familyPinks
Lightnessmedium-dark (55%)
Chromavivid (0.185)
Temperaturewarm
Nearest namePurply (#983FB2)
Black text3.92:1
White text5.35:1

Values

HEX#AF3B9B
RGBrgb(175, 59, 155)
HSLhsl(310, 50%, 46%)
OKLCHoklch(55.1% 0.185 335.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 #AF3B9B 5.35:1 AA Lc -81.1 Fine for body text
Black text on #AF3B9B 3.92:1 AA large text Lc 28.3 Dividers and decoration only
#AF3B9B text on white 5.35:1 AA Lc 75.8 Fine for body text
#AF3B9B text on black 3.92:1 AA large text Lc -26.0 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE5

    oklch(88.5% 0.047 336)

  4. Step 300

    300

    #E3ADD6

    oklch(81% 0.083 335.1)

  5. Step 400

    400

    #D37FC1

    oklch(70.7% 0.133 335.2)

  6. Step 500

    500

    #C65BB1

    oklch(63.2% 0.17 335.5)

  7. Step 600

    600 (this color)

    #AF3B9B

    oklch(55.1% 0.185 335.4)

  8. Step 700

    700

    #982E86

    oklch(49.2% 0.172 335.4)

  9. Step 800

    800

    #7B286D

    oklch(42.7% 0.142 335.1)

  10. Step 900

    900

    #642658

    oklch(37.8% 0.111 335.7)

  11. Step 950

    950

    #3B1734

    oklch(27.1% 0.071 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF3B9B 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)#3B609E0.198
Deuteranopia (no green cones)#6171980.172
Tritanopia (no blue cones)#B743660.092
Achromatopsia (no color)#6B6B6B0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3B9B

    #AF3B9B

    oklch(55.1% 0.185 335.4)

  • #00884E

    #00884E

    oklch(55.1% 0.135 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3B9B

    #AF3B9B

    oklch(55.1% 0.185 335.4)

  • #8C4CC6

    #8C4CC6

    oklch(55.1% 0.185 305.3)

  • #C33062

    #C33062

    oklch(55.1% 0.185 5.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF3B9B

    #AF3B9B

    oklch(55.1% 0.185 335.4)

  • #5F7F00

    #5F7F00

    oklch(55.1% 0.139 125.3)

  • #00847A

    #00847A

    oklch(55.2% 0.097 185.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3B9B

    #AF3B9B

    oklch(55.1% 0.185 335.4)

  • #867000

    #867000

    oklch(55% 0.113 95.3)

  • #008096

    #008096

    oklch(55.2% 0.098 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3B9B

    #AF3B9B

    oklch(55.1% 0.185 335.4)

  • #A26000

    #A26000

    oklch(55.1% 0.124 65.1)

  • #00884E

    #00884E

    oklch(55.1% 0.135 155.5)

  • #0077BD

    #0077BD

    oklch(55.1% 0.14 245.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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