#AF4CAF

Closest named color: Purpley Pink (#C83CB9). oklch(58.1% 0.177 327.6), rgb(175, 76, 175).

Aa

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

About this color

#AF4CAF is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.177 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.053 away. White text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.177)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.47:1
White text4.69:1

Values

HEX#AF4CAF
RGBrgb(175, 76, 175)
HSLhsl(300, 39%, 49%)
OKLCHoklch(58.1% 0.177 327.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 #AF4CAF 4.69:1 AA Lc -77.4 Fine for body text
Black text on #AF4CAF 4.47:1 AA large text Lc 32.1 Non-text elements, placeholder text
#AF4CAF text on white 4.69:1 AA Lc 72.0 Content text, not long reading
#AF4CAF text on black 4.47:1 AA large text Lc -29.7 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

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #EACFE8

    oklch(88.4% 0.045 328.3)

  4. Step 300

    300

    #DDAFDB

    oklch(80.9% 0.079 327.7)

  5. Step 400

    400

    #CB83C9

    oklch(70.8% 0.127 327.8)

  6. Step 500

    500

    #BC61BB

    oklch(63.2% 0.162 327.7)

  7. Step 600

    600 (this color)

    #AF4CAF

    oklch(58.1% 0.177 327.6)

  8. Step 700

    700

    #8F358F

    oklch(49.1% 0.164 327.7)

  9. Step 800

    800

    #742D74

    oklch(42.7% 0.136 327.6)

  10. Step 900

    900

    #5E295E

    oklch(37.6% 0.107 327.4)

  11. Step 950

    950

    #371937

    oklch(27% 0.067 327.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF4CAF 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)#416BB20.178
Deuteranopia (no green cones)#6278AC0.155
Tritanopia (no blue cones)#B458760.101
Achromatopsia (no color)#7474740.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4CAF

    #AF4CAF

    oklch(58.1% 0.177 327.6)

  • #009437

    #009437

    oklch(58.1% 0.17 147.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4CAF

    #AF4CAF

    oklch(58.1% 0.177 327.6)

  • #885DD4

    #885DD4

    oklch(58.1% 0.176 297.3)

  • #C7417B

    #C7417B

    oklch(58.1% 0.177 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF4CAF

    #AF4CAF

    oklch(58.1% 0.177 327.6)

  • #758400

    #758400

    oklch(58.1% 0.134 117.4)

  • #008F7A

    #008F7A

    oklch(58.1% 0.107 177.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4CAF

    #AF4CAF

    oklch(58.1% 0.177 327.6)

  • #987500

    #987500

    oklch(58.1% 0.119 87.7)

  • #008A99

    #008A99

    oklch(57.9% 0.1 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4CAF

    #AF4CAF

    oklch(58.1% 0.177 327.6)

  • #B66100

    #B66100

    oklch(58.1% 0.14 57.5)

  • #009437

    #009437

    oklch(58.1% 0.17 147.5)

  • #0084BC

    #0084BC

    oklch(58.1% 0.127 237.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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