#AF3DAD

Closest named color: Purply (#983FB2). oklch(56.2% 0.196 328.5), rgb(175, 61, 173).

Aa

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

About this color

#AF3DAD is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.196 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.12:1.

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

Values

HEX#AF3DAD
RGBrgb(175, 61, 173)
HSLhsl(301, 48%, 46%)
OKLCHoklch(56.2% 0.196 328.5)

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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEA

    oklch(88.5% 0.05 328.1)

  4. Step 300

    300

    #E1ADDD

    oklch(81% 0.087 328.9)

  5. Step 400

    400

    #D07ECC

    oklch(70.6% 0.142 328.7)

  6. Step 500

    500

    #C25ABF

    oklch(63.2% 0.181 328.6)

  7. Step 600

    600 (this color)

    #AF3DAD

    oklch(56.2% 0.196 328.5)

  8. Step 700

    700

    #942C93

    oklch(49.1% 0.182 328.3)

  9. Step 800

    800

    #782677

    oklch(42.6% 0.151 328.3)

  10. Step 900

    900

    #612560

    oklch(37.6% 0.118 328.3)

  11. Step 950

    950

    #391738

    oklch(27% 0.074 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF3DAD 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)#2F64B00.205
Deuteranopia (no green cones)#5A73AA0.176
Tritanopia (no blue cones)#B54C700.109
Achromatopsia (no color)#6E6E6E0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3DAD

    #AF3DAD

    oklch(56.2% 0.196 328.5)

  • #008D39

    #008D39

    oklch(56.1% 0.16 148.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3DAD

    #AF3DAD

    oklch(56.2% 0.196 328.5)

  • #8751D6

    #8751D6

    oklch(56.3% 0.196 298.6)

  • #C82E74

    #C82E74

    oklch(56.3% 0.197 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF3DAD

    #AF3DAD

    oklch(56.2% 0.196 328.5)

  • #6E7F00

    #6E7F00

    oklch(56.3% 0.132 118.7)

  • #008876

    #008876

    oklch(56.1% 0.102 179.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3DAD

    #AF3DAD

    oklch(56.2% 0.196 328.5)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3DAD

    #AF3DAD

    oklch(56.2% 0.196 328.5)

  • #AD5E00

    #AD5E00

    oklch(56.3% 0.133 58.9)

  • #008D39

    #008D39

    oklch(56.1% 0.16 148.5)

  • #007EB6

    #007EB6

    oklch(56.3% 0.125 238.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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