#AB64D2

Closest named color: Medium Orchid (#BA55D3). oklch(62.7% 0.172 312.2), rgb(171, 100, 210).

Aa

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

About this color

#AB64D2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.172 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.038 away. Black text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.172)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.48:1
White text3.82:1

Values

HEX#AB64D2
RGBrgb(171, 100, 210)
HSLhsl(279, 55%, 61%)
OKLCHoklch(62.7% 0.172 312.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 #AB64D2 3.82:1 AA large text Lc -70.9 Content text, not long reading
Black text on #AB64D2 5.48:1 AA Lc 38.6 Non-text elements, placeholder text
#AB64D2 text on white 3.82:1 AA large text Lc 65.4 Content text, not long reading
#AB64D2 text on black 5.48:1 AA Lc -36.2 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE5F6

    oklch(93.5% 0.025 311.7)

  3. Step 200

    200

    #E4D1F0

    oklch(88.6% 0.047 312.5)

  4. Step 300

    300

    #D3B1E8

    oklch(80.8% 0.084 312.3)

  5. Step 400

    400

    #BD86DD

    oklch(70.6% 0.136 312.3)

  6. Step 500

    500 (this color)

    #AB64D2

    oklch(62.7% 0.172 312.2)

  7. Step 600

    600

    #9749C0

    oklch(55.6% 0.186 312.1)

  8. Step 700

    700

    #8139A6

    oklch(49.1% 0.174 312.1)

  9. Step 800

    800

    #693086

    oklch(42.6% 0.144 312.4)

  10. Step 900

    900

    #552C6C

    oklch(37.7% 0.112 311.8)

  11. Step 950

    950

    #321A3F

    oklch(26.9% 0.072 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB64D2 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)#487FD60.146
Deuteranopia (no green cones)#5E84CF0.131
Tritanopia (no blue cones)#A776920.117
Achromatopsia (no color)#8282820.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB64D2

    #AB64D2

    oklch(62.7% 0.172 312.2)

  • #5E9C09

    #5E9C09

    oklch(62.6% 0.172 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB64D2

    #AB64D2

    oklch(62.7% 0.172 312.2)

  • #7B76EC

    #7B76EC

    oklch(62.8% 0.172 282.1)

  • #CB56A5

    #CB56A5

    oklch(62.7% 0.173 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB64D2

    #AB64D2

    oklch(62.7% 0.172 312.2)

  • #988A00

    #988A00

    oklch(62.6% 0.131 102.3)

  • #00A16F

    #00A16F

    oklch(62.7% 0.137 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB64D2

    #AB64D2

    oklch(62.7% 0.172 312.2)

  • #B97900

    #B97900

    oklch(62.8% 0.134 72.5)

  • #009C99

    #009C99

    oklch(62.6% 0.107 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB64D2

    #AB64D2

    oklch(62.7% 0.172 312.2)

  • #DA5C21

    #DA5C21

    oklch(62.7% 0.172 42.1)

  • #5E9C09

    #5E9C09

    oklch(62.6% 0.172 132.2)

  • #0097BB

    #0097BB

    oklch(62.7% 0.116 222.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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