#AF3BB1

Closest named color: Purply (#983FB2). oklch(56.3% 0.202 327.2), rgb(175, 59, 177).

Aa

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

About this color

#AF3BB1 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.202 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.044 away. White text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.202)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.08:1
White text5.14:1

Values

HEX#AF3BB1
RGBrgb(175, 59, 177)
HSLhsl(299, 50%, 46%)
OKLCHoklch(56.3% 0.202 327.2)

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 #AF3BB1 5.14:1 AA Lc -79.9 Fine for body text
Black text on #AF3BB1 4.08:1 AA large text Lc 29.6 Dividers and decoration only
#AF3BB1 text on white 5.14:1 AA Lc 74.5 Content text, not long reading
#AF3BB1 text on black 4.08:1 AA large text Lc -27.2 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E1ACDF

    oklch(80.9% 0.091 327.6)

  5. Step 400

    400

    #D07ECF

    oklch(70.8% 0.145 327.4)

  6. Step 500

    500

    #C259C3

    oklch(63.2% 0.186 327.1)

  7. Step 600

    600 (this color)

    #AF3BB1

    oklch(56.3% 0.202 327.2)

  8. Step 700

    700

    #942996

    oklch(49% 0.188 327.2)

  9. Step 800

    800

    #78257A

    oklch(42.7% 0.155 326.9)

  10. Step 900

    900

    #612462

    oklch(37.6% 0.121 327)

  11. Step 950

    950

    #39163A

    oklch(26.9% 0.078 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF3BB1 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)#2864B40.211
Deuteranopia (no green cones)#5773AE0.180
Tritanopia (no blue cones)#B44C710.115
Achromatopsia (no color)#6D6D6D0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3BB1

    #AF3BB1

    oklch(56.3% 0.202 327.2)

  • #008E33

    #008E33

    oklch(56.4% 0.167 147.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3BB1

    #AF3BB1

    oklch(56.3% 0.202 327.2)

  • #8550DA

    #8550DA

    oklch(56.2% 0.201 297.1)

  • #C92A76

    #C92A76

    oklch(56.2% 0.202 357.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF3BB1

    #AF3BB1

    oklch(56.3% 0.202 327.2)

  • #707E00

    #707E00

    oklch(56.2% 0.13 117.2)

  • #008974

    #008974

    oklch(56.3% 0.105 176.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3BB1

    #AF3BB1

    oklch(56.3% 0.202 327.2)

  • #927000

    #927000

    oklch(56.3% 0.115 87.4)

  • #008592

    #008592

    oklch(56.4% 0.097 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3BB1

    #AF3BB1

    oklch(56.3% 0.202 327.2)

  • #AF5C00

    #AF5C00

    oklch(56.2% 0.136 56.9)

  • #008E33

    #008E33

    oklch(56.4% 0.167 147.2)

  • #007EB4

    #007EB4

    oklch(56.2% 0.123 237.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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