#AB5FD5

Closest named color: Medium Orchid (#BA55D3). oklch(62.2% 0.183 312), rgb(171, 95, 213).

Aa

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

About this color

#AB5FD5 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.183 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.031 away. Black text reads best on it, at 5.32:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.183)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.32:1
White text3.94:1

Values

HEX#AB5FD5
RGBrgb(171, 95, 213)
HSLhsl(279, 58%, 60%)
OKLCHoklch(62.2% 0.183 312)

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 #AB5FD5 3.94:1 AA large text Lc -71.9 Content text, not long reading
Black text on #AB5FD5 5.32:1 AA Lc 37.7 Non-text elements, placeholder text
#AB5FD5 text on white 3.94:1 AA large text Lc 66.4 Content text, not long reading
#AB5FD5 text on black 5.32:1 AA Lc -35.3 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

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E4D0F2

    oklch(88.4% 0.051 311.5)

  4. Step 300

    300

    #D4B0EB

    oklch(80.8% 0.09 312)

  5. Step 400

    400

    #BE84E1

    oklch(70.6% 0.144 311.8)

  6. Step 500

    500 (this color)

    #AB5FD5

    oklch(62.2% 0.183 312)

  7. Step 600

    600

    #9944C5

    oklch(55.5% 0.199 312)

  8. Step 700

    700

    #8335AA

    oklch(49.1% 0.184 312.2)

  9. Step 800

    800

    #6A2D8A

    oklch(42.7% 0.153 311.8)

  10. Step 900

    900

    #562A6E

    oklch(37.7% 0.119 311.9)

  11. Step 950

    950

    #331941

    oklch(27% 0.077 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB5FD5 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)#3D7CD90.158
Deuteranopia (no green cones)#5782D20.142
Tritanopia (no blue cones)#A673910.125
Achromatopsia (no color)#8080800.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5FD5

    #AB5FD5

    oklch(62.2% 0.183 312)

  • #5D9B00

    #5D9B00

    oklch(62.3% 0.173 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5FD5

    #AB5FD5

    oklch(62.2% 0.183 312)

  • #7972F0

    #7972F0

    oklch(62.1% 0.183 282.2)

  • #CC50A5

    #CC50A5

    oklch(62.1% 0.183 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB5FD5

    #AB5FD5

    oklch(62.2% 0.183 312)

  • #978900

    #978900

    oklch(62.3% 0.131 102.2)

  • #009F6D

    #009F6D

    oklch(62.1% 0.136 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5FD5

    #AB5FD5

    oklch(62.2% 0.183 312)

  • #B77700

    #B77700

    oklch(62.1% 0.133 72)

  • #009B97

    #009B97

    oklch(62.3% 0.107 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5FD5

    #AB5FD5

    oklch(62.2% 0.183 312)

  • #DD550D

    #DD550D

    oklch(62.2% 0.184 41.7)

  • #5D9B00

    #5D9B00

    oklch(62.3% 0.173 132.1)

  • #0095B8

    #0095B8

    oklch(62.1% 0.115 222.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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