#AB4ECF

Closest named color: Medium Orchid (#BA55D3). oklch(59.6% 0.202 315.3), rgb(171, 78, 207).

Aa

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

About this color

#AB4ECF is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.202 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.033 away. Black text reads best on it, at 4.72:1.

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

Values

HEX#AB4ECF
RGBrgb(171, 78, 207)
HSLhsl(283, 57%, 56%)
OKLCHoklch(59.6% 0.202 315.3)

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 #AB4ECF 4.44:1 AA large text Lc -75.7 Fine for body text
Black text on #AB4ECF 4.72:1 AA Lc 33.9 Non-text elements, placeholder text
#AB4ECF text on white 4.44:1 AA large text Lc 70.2 Content text, not long reading
#AB4ECF text on black 4.72:1 AA Lc -31.5 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

    #F1E4F7

    oklch(93.5% 0.029 315.3)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D9ADED

    oklch(80.8% 0.1 315.1)

  5. Step 400

    400

    #C67FE3

    oklch(70.7% 0.158 315.6)

  6. Step 500

    500 (this color)

    #AB4ECF

    oklch(59.6% 0.202 315.3)

  7. Step 600

    600

    #A238C8

    oklch(55.6% 0.22 315.5)

  8. Step 700

    700

    #8A29AD

    oklch(49.1% 0.204 315.2)

  9. Step 800

    800

    #70248C

    oklch(42.6% 0.169 315.2)

  10. Step 900

    900

    #5B2470

    oklch(37.6% 0.132 315.3)

  11. Step 950

    950

    #351742

    oklch(27% 0.083 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB4ECF 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)#2072D30.190
Deuteranopia (no green cones)#4C7ACC0.165
Tritanopia (no blue cones)#A865870.133
Achromatopsia (no color)#7777770.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB4ECF

    #AB4ECF

    oklch(59.6% 0.202 315.3)

  • #4B9400

    #4B9400

    oklch(59.5% 0.174 135.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB4ECF

    #AB4ECF

    oklch(59.6% 0.202 315.3)

  • #7863F0

    #7863F0

    oklch(59.5% 0.203 285.2)

  • #CC3C99

    #CC3C99

    oklch(59.5% 0.202 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB4ECF

    #AB4ECF

    oklch(59.6% 0.202 315.3)

  • #8A8200

    #8A8200

    oklch(59.5% 0.126 105.3)

  • #00966D

    #00966D

    oklch(59.7% 0.125 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB4ECF

    #AB4ECF

    oklch(59.6% 0.202 315.3)

  • #AA7200

    #AA7200

    oklch(59.6% 0.126 74.9)

  • #009192

    #009192

    oklch(59.5% 0.101 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB4ECF

    #AB4ECF

    oklch(59.6% 0.202 315.3)

  • #CD5500

    #CD5500

    oklch(59.6% 0.17 45.3)

  • #4B9400

    #4B9400

    oklch(59.5% 0.174 135.2)

  • #008CB2

    #008CB2

    oklch(59.6% 0.113 225.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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