#AB6DCC

Closest named color: Soft Purple (#A66FB5). oklch(63.8% 0.151 312.9), rgb(171, 109, 204).

Aa

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

About this color

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

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

Values

HEX#AB6DCC
RGBrgb(171, 109, 204)
HSLhsl(279, 48%, 61%)
OKLCHoklch(63.8% 0.151 312.9)

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 #AB6DCC 3.62:1 AA large text Lc -69.1 Content text, not long reading
Black text on #AB6DCC 5.79:1 AA Lc 40.5 Non-text elements, placeholder text
#AB6DCC text on white 3.62:1 AA large text Lc 63.6 Content text, not long reading
#AB6DCC text on black 5.79:1 AA Lc -38.1 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)

    #AB6DCC

    oklch(63.8% 0.151 312.9)

  7. Step 600

    600

    #9450B6

    oklch(55.6% 0.164 313.1)

  8. Step 700

    700

    #7E409D

    oklch(49.1% 0.153 312.9)

  9. Step 800

    800

    #66367F

    oklch(42.7% 0.125 312.6)

  10. Step 900

    900

    #532F66

    oklch(37.6% 0.099 312.8)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB6DCC 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)#5983CF0.124
Deuteranopia (no green cones)#6A88C90.113
Tritanopia (no blue cones)#A87B930.103
Achromatopsia (no color)#8686860.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6DCC

    #AB6DCC

    oklch(63.8% 0.151 312.9)

  • #669E32

    #669E32

    oklch(63.8% 0.151 132.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6DCC

    #AB6DCC

    oklch(63.8% 0.151 312.9)

  • #807DE3

    #807DE3

    oklch(63.9% 0.15 282.6)

  • #C862A4

    #C862A4

    oklch(63.8% 0.151 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB6DCC

    #AB6DCC

    oklch(63.8% 0.151 312.9)

  • #9B8E00

    #9B8E00

    oklch(63.8% 0.134 103)

  • #00A573

    #00A573

    oklch(63.9% 0.138 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6DCC

    #AB6DCC

    oklch(63.8% 0.151 312.9)

  • #BD7C00

    #BD7C00

    oklch(63.8% 0.136 72.7)

  • #00A09E

    #00A09E

    oklch(63.8% 0.109 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6DCC

    #AB6DCC

    oklch(63.8% 0.151 312.9)

  • #D56838

    #D56838

    oklch(63.9% 0.151 42.9)

  • #669E32

    #669E32

    oklch(63.8% 0.151 132.8)

  • #009AC0

    #009AC0

    oklch(63.7% 0.119 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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