#AB5DD6

Closest named color: Medium Orchid (#BA55D3). oklch(62% 0.187 311.9), rgb(171, 93, 214).

Aa

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

About this color

#AB5DD6 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.187 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.030 away. Black text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.187)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.26:1
White text3.98:1

Values

HEX#AB5DD6
RGBrgb(171, 93, 214)
HSLhsl(279, 60%, 60%)
OKLCHoklch(62% 0.187 311.9)

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 #AB5DD6 3.98:1 AA large text Lc -72.2 Content text, not long reading
Black text on #AB5DD6 5.26:1 AA Lc 37.3 Non-text elements, placeholder text
#AB5DD6 text on white 3.98:1 AA large text Lc 66.7 Content text, not long reading
#AB5DD6 text on black 5.26:1 AA Lc -34.9 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E4D0F2

    oklch(88.4% 0.051 311.5)

  4. Step 300

    300

    #D5B0EC

    oklch(81% 0.092 312.2)

  5. Step 400

    400

    #BF84E2

    oklch(70.8% 0.146 312)

  6. Step 500

    500 (this color)

    #AB5DD6

    oklch(62% 0.187 311.9)

  7. Step 600

    600

    #9A42C7

    oklch(55.5% 0.204 312)

  8. Step 700

    700

    #8433AC

    oklch(49.2% 0.189 312.2)

  9. Step 800

    800

    #6B2C8B

    oklch(42.7% 0.156 312.1)

  10. Step 900

    900

    #57296F

    oklch(37.7% 0.122 312.3)

  11. Step 950

    950

    #331941

    oklch(27% 0.077 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB5DD6 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)#387BDA0.163
Deuteranopia (no green cones)#5581D30.145
Tritanopia (no blue cones)#A672910.128
Achromatopsia (no color)#7F7F7F0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5DD6

    #AB5DD6

    oklch(62% 0.187 311.9)

  • #5D9A00

    #5D9A00

    oklch(62% 0.172 131.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5DD6

    #AB5DD6

    oklch(62% 0.187 311.9)

  • #7871F2

    #7871F2

    oklch(62% 0.188 281.9)

  • #CD4DA5

    #CD4DA5

    oklch(61.9% 0.188 342)

Open the analogous palette in the generator

Split complementary

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

  • #AB5DD6

    #AB5DD6

    oklch(62% 0.187 311.9)

  • #968800

    #968800

    oklch(62% 0.13 102.2)

  • #009F6C

    #009F6C

    oklch(62.1% 0.137 161.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5DD6

    #AB5DD6

    oklch(62% 0.187 311.9)

  • #B67600

    #B67600

    oklch(61.8% 0.133 71.8)

  • #009A96

    #009A96

    oklch(62% 0.107 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5DD6

    #AB5DD6

    oklch(62% 0.187 311.9)

  • #DD5300

    #DD5300

    oklch(61.9% 0.187 42)

  • #5D9A00

    #5D9A00

    oklch(62% 0.172 131.9)

  • #0095B7

    #0095B7

    oklch(62.1% 0.114 221.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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