#AB6ECC

Closest named color: Soft Purple (#A66FB5). oklch(64% 0.149 312.8), rgb(171, 110, 204).

Aa

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

About this color

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

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

Values

HEX#AB6ECC
RGBrgb(171, 110, 204)
HSLhsl(279, 48%, 62%)
OKLCHoklch(64% 0.149 312.8)

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 #AB6ECC 3.59:1 AA large text Lc -68.8 Content text, not long reading
Black text on #AB6ECC 5.83:1 AA Lc 40.7 Non-text elements, placeholder text
#AB6ECC text on white 3.59:1 AA large text Lc 63.4 Content text, not long reading
#AB6ECC text on black 5.83:1 AA Lc -38.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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D2ED

    oklch(88.6% 0.041 313.2)

  4. Step 300

    300

    #D1B3E3

    oklch(80.8% 0.074 312.7)

  5. Step 400

    400

    #BA8AD5

    oklch(70.7% 0.118 312.8)

  6. Step 500

    500 (this color)

    #AB6ECC

    oklch(64% 0.149 312.8)

  7. Step 600

    600

    #9351B6

    oklch(55.6% 0.162 312.5)

  8. Step 700

    700

    #7E419C

    oklch(49.1% 0.15 313.1)

  9. Step 800

    800

    #66367F

    oklch(42.7% 0.125 312.6)

  10. Step 900

    900

    #533066

    oklch(37.7% 0.097 312.5)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB6ECC 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)#5A84CF0.123
Deuteranopia (no green cones)#6B88C90.110
Tritanopia (no blue cones)#A87C930.103
Achromatopsia (no color)#8787870.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6ECC

    #AB6ECC

    oklch(64% 0.149 312.8)

  • #679E34

    #679E34

    oklch(63.9% 0.149 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6ECC

    #AB6ECC

    oklch(64% 0.149 312.8)

  • #817DE3

    #817DE3

    oklch(63.9% 0.15 283.1)

  • #C863A4

    #C863A4

    oklch(64% 0.149 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB6ECC

    #AB6ECC

    oklch(64% 0.149 312.8)

  • #9C8E00

    #9C8E00

    oklch(63.9% 0.134 102.5)

  • #00A573

    #00A573

    oklch(63.9% 0.138 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6ECC

    #AB6ECC

    oklch(64% 0.149 312.8)

  • #BD7C00

    #BD7C00

    oklch(63.8% 0.136 72.7)

  • #00A19E

    #00A19E

    oklch(64.1% 0.11 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6ECC

    #AB6ECC

    oklch(64% 0.149 312.8)

  • #D5693A

    #D5693A

    oklch(64.1% 0.149 42.8)

  • #679E34

    #679E34

    oklch(63.9% 0.149 132.7)

  • #009BC0

    #009BC0

    oklch(64% 0.119 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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