#AF33AA

Closest named color: Purply (#983FB2). oklch(55.1% 0.206 329.7), rgb(175, 51, 170).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.206)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.87:1
White text5.41:1

Values

HEX#AF33AA
RGBrgb(175, 51, 170)
HSLhsl(302, 55%, 44%)
OKLCHoklch(55.1% 0.206 329.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 #AF33AA 5.41:1 AA Lc -81.3 Fine for body text
Black text on #AF33AA 3.87:1 AA large text Lc 28.2 Dividers and decoration only
#AF33AA text on white 5.41:1 AA Lc 75.9 Fine for body text
#AF33AA text on black 3.87:1 AA large text Lc -25.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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EDCDEA

    oklch(88.4% 0.052 329)

  4. Step 300

    300

    #E3ABDE

    oklch(80.9% 0.093 329.4)

  5. Step 400

    400

    #D37CCD

    oklch(70.7% 0.149 329.5)

  6. Step 500

    500

    #C556BF

    oklch(63% 0.189 329.7)

  7. Step 600

    600 (this color)

    #AF33AA

    oklch(55.1% 0.206 329.7)

  8. Step 700

    700

    #982593

    oklch(49.1% 0.192 330)

  9. Step 800

    800

    #7B2278

    oklch(42.7% 0.159 329.4)

  10. Step 900

    900

    #642260

    oklch(37.7% 0.124 330.2)

  11. Step 950

    950

    #3B1538

    oklch(27% 0.079 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF33AA 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)#245FAD0.221
Deuteranopia (no green cones)#5770A70.187
Tritanopia (no blue cones)#B5436B0.112
Achromatopsia (no color)#6A6A6A0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF33AA

    #AF33AA

    oklch(55.1% 0.206 329.7)

  • #00893C

    #00893C

    oklch(55% 0.153 149.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF33AA

    #AF33AA

    oklch(55.1% 0.206 329.7)

  • #8649D6

    #8649D6

    oklch(55.1% 0.206 299.4)

  • #C81F6E

    #C81F6E

    oklch(55.1% 0.207 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF33AA

    #AF33AA

    oklch(55.1% 0.206 329.7)

  • #697C00

    #697C00

    oklch(55.1% 0.131 119.8)

  • #008574

    #008574

    oklch(55.2% 0.1 179.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF33AA

    #AF33AA

    oklch(55.1% 0.206 329.7)

  • #8C6E00

    #8C6E00

    oklch(55.2% 0.113 89.7)

  • #008190

    #008190

    oklch(55.2% 0.095 209)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF33AA

    #AF33AA

    oklch(55.1% 0.206 329.7)

  • #A75C00

    #A75C00

    oklch(55.1% 0.129 59.9)

  • #00893C

    #00893C

    oklch(55% 0.153 149.6)

  • #007AB3

    #007AB3

    oklch(55.2% 0.125 239.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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