#AB66DB

Closest named color: Medium Orchid (#BA55D3). oklch(63.5% 0.179 309.4), rgb(171, 102, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.179)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.65:1
White text3.71:1

Values

HEX#AB66DB
RGBrgb(171, 102, 219)
HSLhsl(275, 62%, 63%)
OKLCHoklch(63.5% 0.179 309.4)

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 #AB66DB 3.71:1 AA large text Lc -69.8 Content text, not long reading
Black text on #AB66DB 5.65:1 AA Lc 39.7 Non-text elements, placeholder text
#AB66DB text on white 3.71:1 AA large text Lc 64.3 Content text, not long reading
#AB66DB text on black 5.65:1 AA Lc -37.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E3D1F2

    oklch(88.5% 0.049 309.7)

  4. Step 300

    300

    #D2B1EC

    oklch(80.9% 0.089 309.8)

  5. Step 400

    400

    #BB86E2

    oklch(70.7% 0.141 309.7)

  6. Step 500

    500 (this color)

    #AB66DB

    oklch(63.5% 0.179 309.4)

  7. Step 600

    600

    #9548C7

    oklch(55.6% 0.195 309.4)

  8. Step 700

    700

    #7F38AC

    oklch(49.1% 0.181 309.4)

  9. Step 800

    800

    #672F8B

    oklch(42.6% 0.15 309.4)

  10. Step 900

    900

    #542B6F

    oklch(37.6% 0.117 309.7)

  11. Step 950

    950

    #311A41

    oklch(26.9% 0.074 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB66DB 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)#4382DF0.148
Deuteranopia (no green cones)#5A86D80.133
Tritanopia (no blue cones)#A57A970.126
Achromatopsia (no color)#8585850.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB66DB

    #AB66DB

    oklch(63.5% 0.179 309.4)

  • #699D00

    #699D00

    oklch(63.5% 0.169 129.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB66DB

    #AB66DB

    oklch(63.5% 0.179 309.4)

  • #7879F4

    #7879F4

    oklch(63.6% 0.18 279.6)

  • #CE57AD

    #CE57AD

    oklch(63.6% 0.179 339.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB66DB

    #AB66DB

    oklch(63.5% 0.179 309.4)

  • #9F8B00

    #9F8B00

    oklch(63.5% 0.132 99)

  • #00A56A

    #00A56A

    oklch(63.7% 0.146 159.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB66DB

    #AB66DB

    oklch(63.5% 0.179 309.4)

  • #BF7900

    #BF7900

    oklch(63.5% 0.138 69.7)

  • #00A099

    #00A099

    oklch(63.6% 0.11 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB66DB

    #AB66DB

    oklch(63.5% 0.179 309.4)

  • #E15A27

    #E15A27

    oklch(63.6% 0.18 39.3)

  • #699D00

    #699D00

    oklch(63.5% 0.169 129.3)

  • #009ABA

    #009ABA

    oklch(63.4% 0.115 219.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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