#AB50C8

Closest named color: Medium Orchid (#BA55D3). oklch(59.4% 0.192 317.2), rgb(171, 80, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.192)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.71:1
White text4.45:1

Values

HEX#AB50C8
RGBrgb(171, 80, 200)
HSLhsl(286, 52%, 55%)
OKLCHoklch(59.4% 0.192 317.2)

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 #AB50C8 4.45:1 AA large text Lc -75.8 Fine for body text
Black text on #AB50C8 4.71:1 AA Lc 33.8 Non-text elements, placeholder text
#AB50C8 text on white 4.45:1 AA large text Lc 70.3 Content text, not long reading
#AB50C8 text on black 4.71:1 AA Lc -31.3 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

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFF0

    oklch(88.5% 0.052 317.9)

  4. Step 300

    300

    #DAAEE9

    oklch(81% 0.094 317.4)

  5. Step 400

    400

    #C680DE

    oklch(70.7% 0.151 317.1)

  6. Step 500

    500 (this color)

    #AB50C8

    oklch(59.4% 0.192 317.2)

  7. Step 600

    600

    #A23CC1

    oklch(55.5% 0.209 317.3)

  8. Step 700

    700

    #8B2DA7

    oklch(49.2% 0.194 317.3)

  9. Step 800

    800

    #712787

    oklch(42.7% 0.161 317.4)

  10. Step 900

    900

    #5B266C

    oklch(37.6% 0.125 317.1)

  11. Step 950

    950

    #36173F

    oklch(27% 0.08 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB50C8 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)#2F72CC0.181
Deuteranopia (no green cones)#537AC50.158
Tritanopia (no blue cones)#AA64850.123
Achromatopsia (no color)#7777770.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB50C8

    #AB50C8

    oklch(59.4% 0.192 317.2)

  • #419500

    #419500

    oklch(59.4% 0.18 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB50C8

    #AB50C8

    oklch(59.4% 0.192 317.2)

  • #7B64E9

    #7B64E9

    oklch(59.4% 0.193 286.9)

  • #CA4094

    #CA4094

    oklch(59.4% 0.193 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB50C8

    #AB50C8

    oklch(59.4% 0.192 317.2)

  • #878300

    #878300

    oklch(59.4% 0.128 107.6)

  • #00956F

    #00956F

    oklch(59.4% 0.122 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB50C8

    #AB50C8

    oklch(59.4% 0.192 317.2)

  • #A77300

    #A77300

    oklch(59.4% 0.124 77.3)

  • #009193

    #009193

    oklch(59.5% 0.101 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB50C8

    #AB50C8

    oklch(59.4% 0.192 317.2)

  • #C95800

    #C95800

    oklch(59.4% 0.163 47.4)

  • #419500

    #419500

    oklch(59.4% 0.18 137.2)

  • #008BB3

    #008BB3

    oklch(59.4% 0.115 227)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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