#AB4DCD

Closest named color: Medium Orchid (#BA55D3). oklch(59.3% 0.202 316), rgb(171, 77, 205).

Aa

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

About this color

#AB4DCD is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.202 and its hue 316°. 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.67:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.202)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.67:1
White text4.49:1

Values

HEX#AB4DCD
RGBrgb(171, 77, 205)
HSLhsl(284, 56%, 55%)
OKLCHoklch(59.3% 0.202 316)

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 #AB4DCD 4.49:1 AA large text Lc -76.0 Fine for body text
Black text on #AB4DCD 4.67:1 AA Lc 33.6 Non-text elements, placeholder text
#AB4DCD text on white 4.49:1 AA large text Lc 70.5 Content text, not long reading
#AB4DCD text on black 4.67:1 AA Lc -31.1 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 600.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  5. Step 400

    400

    #C382DD

    oklch(70.6% 0.145 315.8)

  6. Step 500

    500

    #B45FD3

    oklch(63.1% 0.185 316.2)

  7. Step 600

    600 (this color)

    #AB4DCD

    oklch(59.3% 0.202 316)

  8. Step 700

    700

    #8831A6

    oklch(49.1% 0.187 316)

  9. Step 800

    800

    #6E2A87

    oklch(42.6% 0.156 315.6)

  10. Step 900

    900

    #5A286C

    oklch(37.8% 0.121 316.1)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB4DCD 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)#2171D10.191
Deuteranopia (no green cones)#4D7ACA0.166
Tritanopia (no blue cones)#A964860.131
Achromatopsia (no color)#7777770.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4DCD

    #AB4DCD

    oklch(59.3% 0.202 316)

  • #479400

    #479400

    oklch(59.3% 0.176 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4DCD

    #AB4DCD

    oklch(59.3% 0.202 316)

  • #7962EE

    #7962EE

    oklch(59.3% 0.202 286)

  • #CC3B97

    #CC3B97

    oklch(59.3% 0.202 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB4DCD

    #AB4DCD

    oklch(59.3% 0.202 316)

  • #898200

    #898200

    oklch(59.4% 0.127 105.9)

  • #00956D

    #00956D

    oklch(59.4% 0.123 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4DCD

    #AB4DCD

    oklch(59.3% 0.202 316)

  • #A87200

    #A87200

    oklch(59.3% 0.125 76)

  • #009092

    #009092

    oklch(59.2% 0.101 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4DCD

    #AB4DCD

    oklch(59.3% 0.202 316)

  • #CB5600

    #CB5600

    oklch(59.5% 0.167 46.1)

  • #479400

    #479400

    oklch(59.3% 0.176 136)

  • #008BB2

    #008BB2

    oklch(59.3% 0.114 226.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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