#AF47BA

Closest named color: Purpley Pink (#C83CB9). oklch(58% 0.194 323.8), rgb(175, 71, 186).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.194)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.43:1
White text4.73:1

Values

HEX#AF47BA
RGBrgb(175, 71, 186)
HSLhsl(294, 45%, 50%)
OKLCHoklch(58% 0.194 323.8)

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 #AF47BA 4.73:1 AA Lc -77.6 Fine for body text
Black text on #AF47BA 4.43:1 AA large text Lc 31.9 Non-text elements, placeholder text
#AF47BA text on white 4.73:1 AA Lc 72.2 Content text, not long reading
#AF47BA text on black 4.43:1 AA large text Lc -29.5 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFEC

    oklch(88.6% 0.049 323.8)

  4. Step 300

    300

    #DDAEE1

    oklch(80.9% 0.087 323.8)

  5. Step 400

    400

    #CB81D2

    oklch(70.8% 0.14 323.8)

  6. Step 500

    500

    #BC5DC6

    oklch(63.1% 0.179 323.7)

  7. Step 600

    600 (this color)

    #AF47BA

    oklch(58% 0.194 323.8)

  8. Step 700

    700

    #8F3099

    oklch(49.1% 0.18 323.8)

  9. Step 800

    800

    #74297C

    oklch(42.6% 0.149 323.7)

  10. Step 900

    900

    #5E2764

    oklch(37.7% 0.117 323.6)

  11. Step 950

    950

    #37183B

    oklch(27% 0.074 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF47BA 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)#316BBD0.195
Deuteranopia (no green cones)#5977B70.167
Tritanopia (no blue cones)#B2587A0.115
Achromatopsia (no color)#7373730.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF47BA

    #AF47BA

    oklch(58% 0.194 323.8)

  • #00951A

    #00951A

    oklch(58.1% 0.19 143.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF47BA

    #AF47BA

    oklch(58% 0.194 323.8)

  • #845AE0

    #845AE0

    oklch(58% 0.195 293.9)

  • #CB3883

    #CB3883

    oklch(58.1% 0.194 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF47BA

    #AF47BA

    oklch(58% 0.194 323.8)

  • #7A8200

    #7A8200

    oklch(58% 0.13 114)

  • #008F75

    #008F75

    oklch(58% 0.11 173.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF47BA

    #AF47BA

    oklch(58% 0.194 323.8)

  • #9C7300

    #9C7300

    oklch(58.1% 0.119 83.6)

  • #008B95

    #008B95

    oklch(58% 0.099 203.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF47BA

    #AF47BA

    oklch(58% 0.194 323.8)

  • #BA5D00

    #BA5D00

    oklch(58% 0.146 53.8)

  • #00951A

    #00951A

    oklch(58.1% 0.19 143.8)

  • #0085B7

    #0085B7

    oklch(58.1% 0.121 233.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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