#AB52C3

Closest named color: Medium Orchid (#BA55D3). oklch(59.4% 0.184 318.6), rgb(171, 82, 195).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.184)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.72:1
White text4.44:1

Values

HEX#AB52C3
RGBrgb(171, 82, 195)
HSLhsl(287, 48%, 54%)
OKLCHoklch(59.4% 0.184 318.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 #AB52C3 4.44:1 AA large text Lc -75.8 Fine for body text
Black text on #AB52C3 4.72:1 AA Lc 33.8 Non-text elements, placeholder text
#AB52C3 text on white 4.44:1 AA large text Lc 70.3 Content text, not long reading
#AB52C3 text on black 4.72:1 AA Lc -31.4 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE6

    oklch(80.8% 0.091 318.9)

  5. Step 400

    400

    #C681DA

    oklch(70.6% 0.145 318.4)

  6. Step 500

    500 (this color)

    #AB52C3

    oklch(59.4% 0.184 318.6)

  7. Step 600

    600

    #A23FBC

    oklch(55.5% 0.201 318.6)

  8. Step 700

    700

    #8B30A2

    oklch(49.1% 0.186 318.8)

  9. Step 800

    800

    #712983

    oklch(42.7% 0.155 319)

  10. Step 900

    900

    #5B2769

    oklch(37.6% 0.12 318.6)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB52C3 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)#3872C70.174
Deuteranopia (no green cones)#587BC00.153
Tritanopia (no blue cones)#AB64830.117
Achromatopsia (no color)#7878780.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB52C3

    #AB52C3

    oklch(59.4% 0.184 318.6)

  • #399604

    #399604

    oklch(59.4% 0.184 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB52C3

    #AB52C3

    oklch(59.4% 0.184 318.6)

  • #7E65E3

    #7E65E3

    oklch(59.4% 0.184 288.7)

  • #C84490

    #C84490

    oklch(59.3% 0.184 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB52C3

    #AB52C3

    oklch(59.4% 0.184 318.6)

  • #868300

    #868300

    oklch(59.3% 0.128 108.1)

  • #009571

    #009571

    oklch(59.5% 0.12 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB52C3

    #AB52C3

    oklch(59.4% 0.184 318.6)

  • #A67400

    #A67400

    oklch(59.5% 0.124 78.6)

  • #009095

    #009095

    oklch(59.3% 0.101 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB52C3

    #AB52C3

    oklch(59.4% 0.184 318.6)

  • #C75A00

    #C75A00

    oklch(59.4% 0.16 48.8)

  • #399604

    #399604

    oklch(59.4% 0.184 138.6)

  • #008BB5

    #008BB5

    oklch(59.5% 0.116 228.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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