#AF3CAC

Closest named color: Purply (#983FB2). oklch(56.1% 0.197 328.9), rgb(175, 60, 172).

Aa

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

About this color

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

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

Values

HEX#AF3CAC
RGBrgb(175, 60, 172)
HSLhsl(302, 49%, 46%)
OKLCHoklch(56.1% 0.197 328.9)

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 #AF3CAC 5.16:1 AA Lc -80.1 Fine for body text
Black text on #AF3CAC 4.06:1 AA large text Lc 29.4 Dividers and decoration only
#AF3CAC text on white 5.16:1 AA Lc 74.7 Content text, not long reading
#AF3CAC text on black 4.06:1 AA large text Lc -27.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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #ECCEE9

    oklch(88.5% 0.049 329.2)

  4. Step 300

    300

    #E1ACDD

    oklch(80.8% 0.089 328.9)

  5. Step 400

    400

    #D07ECC

    oklch(70.6% 0.142 328.7)

  6. Step 500

    500

    #C25ABE

    oklch(63.1% 0.18 328.9)

  7. Step 600

    600 (this color)

    #AF3CAC

    oklch(56.1% 0.197 328.9)

  8. Step 700

    700

    #952B92

    oklch(49.1% 0.183 329.1)

  9. Step 800

    800

    #792677

    oklch(42.8% 0.152 328.8)

  10. Step 900

    900

    #622560

    oklch(37.8% 0.118 328.9)

  11. Step 950

    950

    #391738

    oklch(27% 0.074 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF3CAC 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)#2F63AF0.206
Deuteranopia (no green cones)#5A73A90.177
Tritanopia (no blue cones)#B54A6F0.108
Achromatopsia (no color)#6D6D6D0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3CAC

    #AF3CAC

    oklch(56.1% 0.197 328.9)

  • #008D3B

    #008D3B

    oklch(56.2% 0.159 148.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3CAC

    #AF3CAC

    oklch(56.1% 0.197 328.9)

  • #8750D6

    #8750D6

    oklch(56.2% 0.197 298.8)

  • #C82D72

    #C82D72

    oklch(56.2% 0.197 359.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF3CAC

    #AF3CAC

    oklch(56.1% 0.197 328.9)

  • #6D7F00

    #6D7F00

    oklch(56.2% 0.132 119.1)

  • #008876

    #008876

    oklch(56.1% 0.102 179.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3CAC

    #AF3CAC

    oklch(56.1% 0.197 328.9)

  • #907000

    #907000

    oklch(56.1% 0.115 88.7)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3CAC

    #AF3CAC

    oklch(56.1% 0.197 328.9)

  • #AC5E00

    #AC5E00

    oklch(56.1% 0.133 59.3)

  • #008D3B

    #008D3B

    oklch(56.2% 0.159 148.9)

  • #007DB6

    #007DB6

    oklch(56.1% 0.126 238.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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