#AF43C4

Closest named color: Medium Orchid (#BA55D3). oklch(58.2% 0.208 320.7), rgb(175, 67, 196).

Aa

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

About this color

#AF43C4 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.208 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.044 away. White text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.208)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.42:1
White text4.74:1

Values

HEX#AF43C4
RGBrgb(175, 67, 196)
HSLhsl(290, 52%, 52%)
OKLCHoklch(58.2% 0.208 320.7)

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 #AF43C4 4.74:1 AA Lc -77.6 Fine for body text
Black text on #AF43C4 4.42:1 AA large text Lc 31.9 Non-text elements, placeholder text
#AF43C4 text on white 4.74:1 AA Lc 72.1 Content text, not long reading
#AF43C4 text on black 4.42: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F5

    oklch(93.5% 0.027 320.2)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DDADE6

    oklch(80.9% 0.094 321)

  5. Step 400

    400

    #CA7FD9

    oklch(70.7% 0.15 320.8)

  6. Step 500

    500

    #BB5ACF

    oklch(63.1% 0.192 320.5)

  7. Step 600

    600 (this color)

    #AF43C4

    oklch(58.2% 0.208 320.7)

  8. Step 700

    700

    #8F2BA2

    oklch(49.2% 0.194 320.7)

  9. Step 800

    800

    #742683

    oklch(42.8% 0.16 320.7)

  10. Step 900

    900

    #5E2569

    oklch(37.7% 0.125 320.9)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF43C4 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)#1B6BC80.209
Deuteranopia (no green cones)#5077C10.178
Tritanopia (no blue cones)#B0597E0.128
Achromatopsia (no color)#7373730.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF43C4

    #AF43C4

    oklch(58.2% 0.208 320.7)

  • #249400

    #249400

    oklch(58.2% 0.19 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF43C4

    #AF43C4

    oklch(58.2% 0.208 320.7)

  • #8059EA

    #8059EA

    oklch(58.2% 0.208 290.9)

  • #CE308A

    #CE308A

    oklch(58.2% 0.208 350.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF43C4

    #AF43C4

    oklch(58.2% 0.208 320.7)

  • #7F8100

    #7F8100

    oklch(58.2% 0.128 110.9)

  • #009071

    #009071

    oklch(58.1% 0.114 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF43C4

    #AF43C4

    oklch(58.2% 0.208 320.7)

  • #9F7200

    #9F7200

    oklch(58.2% 0.12 81.1)

  • #008C93

    #008C93

    oklch(58.2% 0.099 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF43C4

    #AF43C4

    oklch(58.2% 0.208 320.7)

  • #BF5A00

    #BF5A00

    oklch(58.2% 0.152 50.7)

  • #249400

    #249400

    oklch(58.2% 0.19 140.7)

  • #0086B3

    #0086B3

    oklch(58.1% 0.117 230.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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