#AB6BDB

Closest named color: Medium Purple (#9370DB). oklch(64.3% 0.171 308.7), rgb(171, 107, 219).

Aa

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

About this color

#AB6BDB is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.171 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.040 away. Black text reads best on it, at 5.85:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.171)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.85:1
White text3.58:1

Values

HEX#AB6BDB
RGBrgb(171, 107, 219)
HSLhsl(274, 61%, 64%)
OKLCHoklch(64.3% 0.171 308.7)

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 #AB6BDB 3.58:1 AA large text Lc -68.6 Content text, not long reading
Black text on #AB6BDB 5.85:1 AA Lc 40.9 Non-text elements, placeholder text
#AB6BDB text on white 3.58:1 AA large text Lc 63.1 Content text, not long reading
#AB6BDB text on black 5.85:1 AA Lc -38.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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D0B2EA

    oklch(80.8% 0.084 308.9)

  5. Step 400

    400

    #B988E0

    oklch(70.7% 0.134 308.9)

  6. Step 500

    500 (this color)

    #AB6BDB

    oklch(64.3% 0.171 308.7)

  7. Step 600

    600

    #934BC4

    oklch(55.6% 0.186 309)

  8. Step 700

    700

    #7D3BA9

    oklch(49% 0.173 309)

  9. Step 800

    800

    #663289

    oklch(42.7% 0.143 309.1)

  10. Step 900

    900

    #532D6E

    oklch(37.7% 0.112 309)

  11. Step 950

    950

    #301B40

    oklch(26.9% 0.07 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB6BDB 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)#4C84DF0.137
Deuteranopia (no green cones)#5F88D80.124
Tritanopia (no blue cones)#A47E990.122
Achromatopsia (no color)#8787870.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6BDB

    #AB6BDB

    oklch(64.3% 0.171 308.7)

  • #6D9F00

    #6D9F00

    oklch(64.2% 0.169 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6BDB

    #AB6BDB

    oklch(64.3% 0.171 308.7)

  • #797DF2

    #797DF2

    oklch(64.3% 0.172 278.9)

  • #CD5DAF

    #CD5DAF

    oklch(64.3% 0.171 338.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB6BDB

    #AB6BDB

    oklch(64.3% 0.171 308.7)

  • #A28D00

    #A28D00

    oklch(64.3% 0.133 98.6)

  • #00A76A

    #00A76A

    oklch(64.2% 0.148 158.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6BDB

    #AB6BDB

    oklch(64.3% 0.171 308.7)

  • #C37A00

    #C37A00

    oklch(64.2% 0.14 68.6)

  • #00A29A

    #00A29A

    oklch(64.2% 0.111 188.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6BDB

    #AB6BDB

    oklch(64.3% 0.171 308.7)

  • #E06033

    #E06033

    oklch(64.3% 0.171 39)

  • #6D9F00

    #6D9F00

    oklch(64.2% 0.169 128.6)

  • #009DBC

    #009DBC

    oklch(64.3% 0.116 218.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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