#AB6CDB

Closest named color: Medium Purple (#9370DB). oklch(64.5% 0.17 308.6), rgb(171, 108, 219).

Aa

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

About this color

#AB6CDB is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.170 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.89:1.

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

Values

HEX#AB6CDB
RGBrgb(171, 108, 219)
HSLhsl(274, 61%, 64%)
OKLCHoklch(64.5% 0.17 308.6)

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 #AB6CDB 3.55:1 AA large text Lc -68.4 Content text, not long reading
Black text on #AB6CDB 5.89:1 AA Lc 41.2 Non-text elements, placeholder text
#AB6CDB text on white 3.55:1 AA large text Lc 62.9 Content text, not long reading
#AB6CDB text on black 5.89:1 AA Lc -38.8 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  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

    #B888DF

    oklch(70.6% 0.133 308.7)

  6. Step 500

    500 (this color)

    #AB6CDB

    oklch(64.5% 0.17 308.6)

  7. Step 600

    600

    #924CC4

    oklch(55.6% 0.185 308.4)

  8. Step 700

    700

    #7C3CA9

    oklch(49% 0.171 308.4)

  9. Step 800

    800

    #653389

    oklch(42.8% 0.141 308.4)

  10. Step 900

    900

    #522D6E

    oklch(37.6% 0.112 308.2)

  11. Step 950

    950

    #301B40

    oklch(26.9% 0.07 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB6CDB 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)#4D85DF0.136
Deuteranopia (no green cones)#6089D80.123
Tritanopia (no blue cones)#A47F9A0.121
Achromatopsia (no color)#8888880.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6CDB

    #AB6CDB

    oklch(64.5% 0.17 308.6)

  • #6EA001

    #6EA001

    oklch(64.6% 0.17 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6CDB

    #AB6CDB

    oklch(64.5% 0.17 308.6)

  • #797EF2

    #797EF2

    oklch(64.5% 0.17 278.6)

  • #CD5EB0

    #CD5EB0

    oklch(64.5% 0.17 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB6CDB

    #AB6CDB

    oklch(64.5% 0.17 308.6)

  • #A38E00

    #A38E00

    oklch(64.6% 0.134 98.7)

  • #00A86A

    #00A86A

    oklch(64.5% 0.15 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6CDB

    #AB6CDB

    oklch(64.5% 0.17 308.6)

  • #C47B00

    #C47B00

    oklch(64.5% 0.141 68.9)

  • #00A39B

    #00A39B

    oklch(64.5% 0.112 188.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6CDB

    #AB6CDB

    oklch(64.5% 0.17 308.6)

  • #E06135

    #E06135

    oklch(64.5% 0.169 38.9)

  • #6EA001

    #6EA001

    oklch(64.6% 0.17 128.5)

  • #009EBD

    #009EBD

    oklch(64.6% 0.116 218.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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