#AB6DCE

Closest named color: Soft Purple (#A66FB5). oklch(63.9% 0.153 312.2), rgb(171, 109, 206).

Aa

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

About this color

#AB6DCE is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.153 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.040 away. Black text reads best on it, at 5.81:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.153)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.81:1
White text3.61:1

Values

HEX#AB6DCE
RGBrgb(171, 109, 206)
HSLhsl(278, 50%, 62%)
OKLCHoklch(63.9% 0.153 312.2)

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 #AB6DCE 3.61:1 AA large text Lc -69.0 Content text, not long reading
Black text on #AB6DCE 5.81:1 AA Lc 40.6 Non-text elements, placeholder text
#AB6DCE text on white 3.61:1 AA large text Lc 63.5 Content text, not long reading
#AB6DCE text on black 5.81:1 AA Lc -38.2 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D2ED

    oklch(88.6% 0.041 313.2)

  4. Step 300

    300

    #D1B3E4

    oklch(80.9% 0.075 312.2)

  5. Step 400

    400

    #BA8AD6

    oklch(70.7% 0.119 312.5)

  6. Step 500

    500 (this color)

    #AB6DCE

    oklch(63.9% 0.153 312.2)

  7. Step 600

    600

    #9450B8

    oklch(55.7% 0.166 312.4)

  8. Step 700

    700

    #7E409F

    oklch(49.2% 0.155 312.2)

  9. Step 800

    800

    #663580

    oklch(42.6% 0.128 312.4)

  10. Step 900

    900

    #532F67

    oklch(37.6% 0.1 312.2)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB6DCE 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)#5883D10.125
Deuteranopia (no green cones)#6988CB0.113
Tritanopia (no blue cones)#A87C940.106
Achromatopsia (no color)#8787870.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6DCE

    #AB6DCE

    oklch(63.9% 0.153 312.2)

  • #679E2F

    #679E2F

    oklch(63.8% 0.153 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6DCE

    #AB6DCE

    oklch(63.9% 0.153 312.2)

  • #7F7DE5

    #7F7DE5

    oklch(63.9% 0.153 282)

  • #C962A5

    #C962A5

    oklch(64% 0.153 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB6DCE

    #AB6DCE

    oklch(63.9% 0.153 312.2)

  • #9C8E00

    #9C8E00

    oklch(63.9% 0.134 102.5)

  • #00A572

    #00A572

    oklch(63.8% 0.139 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6DCE

    #AB6DCE

    oklch(63.9% 0.153 312.2)

  • #BE7C00

    #BE7C00

    oklch(64% 0.137 72.2)

  • #00A09D

    #00A09D

    oklch(63.8% 0.109 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6DCE

    #AB6DCE

    oklch(63.9% 0.153 312.2)

  • #D66737

    #D66737

    oklch(63.9% 0.153 42.5)

  • #679E2F

    #679E2F

    oklch(63.8% 0.153 132.2)

  • #009BBF

    #009BBF

    oklch(63.9% 0.118 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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