#AF64B7

Closest named color: Soft Purple (#A66FB5). oklch(61.8% 0.145 323.6), rgb(175, 100, 183).

Aa

Black text reads best on this color (5.32:1).

About this color

#AF64B7 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.145 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.030 away. Black text reads best on it, at 5.32:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.145)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.32:1
White text3.94:1

Values

HEX#AF64B7
RGBrgb(175, 100, 183)
HSLhsl(294, 37%, 55%)
OKLCHoklch(61.8% 0.145 323.6)

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 #AF64B7 3.94:1 AA large text Lc -72.0 Content text, not long reading
Black text on #AF64B7 5.32:1 AA Lc 37.6 Non-text elements, placeholder text
#AF64B7 text on white 3.94:1 AA large text Lc 66.5 Content text, not long reading
#AF64B7 text on black 5.32:1 AA Lc -35.2 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D1E8

    oklch(88.6% 0.039 324.6)

  4. Step 300

    300

    #D8B2DB

    oklch(81% 0.07 323.9)

  5. Step 400

    400

    #C388C9

    oklch(70.7% 0.113 323.5)

  6. Step 500

    500 (this color)

    #AF64B7

    oklch(61.8% 0.145 323.6)

  7. Step 600

    600

    #9E4DA7

    oklch(55.5% 0.158 323.5)

  8. Step 700

    700

    #873E8F

    oklch(49.1% 0.146 323.6)

  9. Step 800

    800

    #6E3374

    oklch(42.6% 0.122 323.8)

  10. Step 900

    900

    #592E5E

    oklch(37.7% 0.094 323.3)

  11. Step 950

    950

    #341B37

    oklch(26.9% 0.06 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF64B7 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)#5A7ABA0.135
Deuteranopia (no green cones)#6F83B40.121
Tritanopia (no blue cones)#B26E850.088
Achromatopsia (no color)#8080800.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF64B7

    #AF64B7

    oklch(61.8% 0.145 323.6)

  • #479B47

    #479B47

    oklch(61.7% 0.145 143.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF64B7

    #AF64B7

    oklch(61.8% 0.145 323.6)

  • #8B72D4

    #8B72D4

    oklch(61.9% 0.145 293.5)

  • #C65C8C

    #C65C8C

    oklch(61.8% 0.145 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF64B7

    #AF64B7

    oklch(61.8% 0.145 323.6)

  • #868E00

    #868E00

    oklch(61.9% 0.139 113.7)

  • #009C80

    #009C80

    oklch(61.8% 0.118 173.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF64B7

    #AF64B7

    oklch(61.8% 0.145 323.6)

  • #AA7D00

    #AA7D00

    oklch(61.8% 0.127 83.2)

  • #0098A2

    #0098A2

    oklch(61.9% 0.105 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF64B7

    #AF64B7

    oklch(61.8% 0.145 323.6)

  • #C7691B

    #C7691B

    oklch(61.9% 0.145 53.8)

  • #479B47

    #479B47

    oklch(61.7% 0.145 143.6)

  • #0091C6

    #0091C6

    oklch(61.8% 0.128 233.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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