#AB56CF

Closest named color: Medium Orchid (#BA55D3). oklch(60.6% 0.191 314.6), rgb(171, 86, 207).

Aa

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

About this color

#AB56CF is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.191 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.028 away. Black text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.191)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.96:1
White text4.23:1

Values

HEX#AB56CF
RGBrgb(171, 86, 207)
HSLhsl(282, 56%, 57%)
OKLCHoklch(60.6% 0.191 314.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 #AB56CF 4.23:1 AA large text Lc -74.2 Content text, not long reading
Black text on #AB56CF 4.96:1 AA Lc 35.4 Non-text elements, placeholder text
#AB56CF text on white 4.23:1 AA large text Lc 68.7 Content text, not long reading
#AB56CF text on black 4.96:1 AA Lc -33.0 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

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6CFF1

    oklch(88.4% 0.052 314.9)

  4. Step 300

    300

    #D7AFEB

    oklch(80.9% 0.093 314.3)

  5. Step 400

    400

    #C382E0

    oklch(70.7% 0.149 314.8)

  6. Step 500

    500 (this color)

    #AB56CF

    oklch(60.6% 0.191 314.6)

  7. Step 600

    600

    #9E3FC5

    oklch(55.6% 0.208 314.4)

  8. Step 700

    700

    #872FAA

    oklch(49% 0.193 314.4)

  9. Step 800

    800

    #6E298A

    oklch(42.7% 0.16 314.5)

  10. Step 900

    900

    #59276E

    oklch(37.6% 0.125 314.6)

  11. Step 950

    950

    #341840

    oklch(26.9% 0.078 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB56CF 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)#3276D30.174
Deuteranopia (no green cones)#537DCC0.152
Tritanopia (no blue cones)#A86B8A0.127
Achromatopsia (no color)#7B7B7B0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB56CF

    #AB56CF

    oklch(60.6% 0.191 314.6)

  • #509700

    #509700

    oklch(60.6% 0.175 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB56CF

    #AB56CF

    oklch(60.6% 0.191 314.6)

  • #7A6AED

    #7A6AED

    oklch(60.6% 0.19 284.8)

  • #CC469C

    #CC469C

    oklch(60.6% 0.191 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB56CF

    #AB56CF

    oklch(60.6% 0.191 314.6)

  • #8E8500

    #8E8500

    oklch(60.5% 0.128 104.8)

  • #00996E

    #00996E

    oklch(60.5% 0.128 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB56CF

    #AB56CF

    oklch(60.6% 0.191 314.6)

  • #AE7500

    #AE7500

    oklch(60.7% 0.128 75.1)

  • #009595

    #009595

    oklch(60.6% 0.104 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB56CF

    #AB56CF

    oklch(60.6% 0.191 314.6)

  • #D35600

    #D35600

    oklch(60.7% 0.175 44.6)

  • #509700

    #509700

    oklch(60.6% 0.175 134.5)

  • #0090B5

    #0090B5

    oklch(60.7% 0.114 224.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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