#AF3BBA

Closest named color: Purply (#983FB2). oklch(56.8% 0.21 324.2), rgb(175, 59, 186).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.210)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.15:1
White text5.05:1

Values

HEX#AF3BBA
RGBrgb(175, 59, 186)
HSLhsl(295, 52%, 48%)
OKLCHoklch(56.8% 0.21 324.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 #AF3BBA 5.05:1 AA Lc -79.3 Fine for body text
Black text on #AF3BBA 4.15:1 AA large text Lc 30.1 Non-text elements, placeholder text
#AF3BBA text on white 5.05:1 AA Lc 73.9 Content text, not long reading
#AF3BBA text on black 4.15:1 AA large text Lc -27.8 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

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EBCEED

    oklch(88.5% 0.052 324)

  4. Step 300

    300

    #DFACE3

    oklch(80.8% 0.094 324)

  5. Step 400

    400

    #CE7DD5

    oklch(70.6% 0.151 324.1)

  6. Step 500

    500

    #C057CA

    oklch(63.1% 0.194 324.1)

  7. Step 600

    600 (this color)

    #AF3BBA

    oklch(56.8% 0.21 324.2)

  8. Step 700

    700

    #93279D

    oklch(49.1% 0.196 324.2)

  9. Step 800

    800

    #77237F

    oklch(42.6% 0.162 324.2)

  10. Step 900

    900

    #602366

    oklch(37.6% 0.126 324)

  11. Step 950

    950

    #39163C

    oklch(27.1% 0.08 324.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF3BBA 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)#1B66BE0.217
Deuteranopia (no green cones)#5173B70.184
Tritanopia (no blue cones)#B250760.123
Achromatopsia (no color)#6F6F6F0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3BBA

    #AF3BBA

    oklch(56.8% 0.21 324.2)

  • #00901E

    #00901E

    oklch(56.7% 0.183 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3BBA

    #AF3BBA

    oklch(56.8% 0.21 324.2)

  • #8251E3

    #8251E3

    oklch(56.7% 0.21 294.1)

  • #CC277F

    #CC277F

    oklch(56.9% 0.21 354.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF3BBA

    #AF3BBA

    oklch(56.8% 0.21 324.2)

  • #767E00

    #767E00

    oklch(56.7% 0.128 114.1)

  • #008B72

    #008B72

    oklch(56.8% 0.108 174.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3BBA

    #AF3BBA

    oklch(56.8% 0.21 324.2)

  • #977000

    #977000

    oklch(56.9% 0.117 84.3)

  • #008791

    #008791

    oklch(56.8% 0.097 204)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3BBA

    #AF3BBA

    oklch(56.8% 0.21 324.2)

  • #B45B00

    #B45B00

    oklch(56.8% 0.141 54.5)

  • #00901E

    #00901E

    oklch(56.7% 0.183 144.2)

  • #0081B2

    #0081B2

    oklch(56.9% 0.119 234.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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