#AF48D7

Closest named color: Medium Orchid (#BA55D3). oklch(59.9% 0.219 315), rgb(175, 72, 215).

Aa

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

About this color

#AF48D7 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.219 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.035 away. Black text reads best on it, at 4.73:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.219)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.73:1
White text4.43:1

Values

HEX#AF48D7
RGBrgb(175, 72, 215)
HSLhsl(283, 64%, 56%)
OKLCHoklch(59.9% 0.219 315)

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 #AF48D7 4.43:1 AA large text Lc -75.5 Fine for body text
Black text on #AF48D7 4.73:1 AA Lc 34.1 Non-text elements, placeholder text
#AF48D7 text on white 4.43:1 AA large text Lc 70.0 Content text, not long reading
#AF48D7 text on black 4.73:1 AA Lc -31.7 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF5

    oklch(88.5% 0.06 314.5)

  4. Step 300

    300

    #DBACF0

    oklch(81% 0.106 315.2)

  5. Step 400

    400

    #C87BE9

    oklch(70.6% 0.172 315)

  6. Step 500

    500 (this color)

    #AF48D7

    oklch(59.9% 0.219 315)

  7. Step 600

    600

    #A52ED0

    oklch(55.7% 0.238 314.9)

  8. Step 700

    700

    #8D1DB4

    oklch(49.1% 0.222 314.8)

  9. Step 800

    800

    #731D91

    oklch(42.7% 0.183 315.3)

  10. Step 900

    900

    #5D2074

    oklch(37.7% 0.143 315.2)

  11. Step 950

    950

    #361544

    oklch(27% 0.09 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF48D7 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)#0072DB0.208
Deuteranopia (no green cones)#447AD40.182
Tritanopia (no blue cones)#AC648A0.143
Achromatopsia (no color)#7878780.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF48D7

    #AF48D7

    oklch(59.9% 0.219 315)

  • #4C9500

    #4C9500

    oklch(59.8% 0.175 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF48D7

    #AF48D7

    oklch(59.9% 0.219 315)

  • #7960FA

    #7960FA

    oklch(59.9% 0.219 285.1)

  • #D3329D

    #D3329D

    oklch(60% 0.22 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF48D7

    #AF48D7

    oklch(59.9% 0.219 315)

  • #8C8300

    #8C8300

    oklch(59.9% 0.127 104.8)

  • #00976D

    #00976D

    oklch(59.9% 0.126 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF48D7

    #AF48D7

    oklch(59.9% 0.219 315)

  • #AB7300

    #AB7300

    oklch(59.9% 0.126 75.1)

  • #009293

    #009293

    oklch(59.8% 0.102 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF48D7

    #AF48D7

    oklch(59.9% 0.219 315)

  • #CF5500

    #CF5500

    oklch(60% 0.172 44.9)

  • #4C9500

    #4C9500

    oklch(59.8% 0.175 135.1)

  • #008DB3

    #008DB3

    oklch(59.9% 0.114 225.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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