#AB6ACC

Closest named color: Soft Purple (#A66FB5). oklch(63.3% 0.156 313.3), rgb(171, 106, 204).

Aa

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

About this color

#AB6ACC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.156 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.040 away. Black text reads best on it, at 5.66:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.156)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.66:1
White text3.70:1

Values

HEX#AB6ACC
RGBrgb(171, 106, 204)
HSLhsl(280, 49%, 61%)
OKLCHoklch(63.3% 0.156 313.3)

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 #AB6ACC 3.70:1 AA large text Lc -69.9 Content text, not long reading
Black text on #AB6ACC 5.66:1 AA Lc 39.7 Non-text elements, placeholder text
#AB6ACC text on white 3.70:1 AA large text Lc 64.4 Content text, not long reading
#AB6ACC text on black 5.66:1 AA Lc -37.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

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1ED

    oklch(88.4% 0.043 313.7)

  4. Step 300

    300

    #D2B3E4

    oklch(81% 0.075 313)

  5. Step 400

    400

    #BB89D6

    oklch(70.6% 0.121 313.2)

  6. Step 500

    500 (this color)

    #AB6ACC

    oklch(63.3% 0.156 313.3)

  7. Step 600

    600

    #954EB8

    oklch(55.5% 0.17 313.1)

  8. Step 700

    700

    #7F3E9E

    oklch(49% 0.158 313.3)

  9. Step 800

    800

    #683480

    oklch(42.7% 0.131 313.8)

  10. Step 900

    900

    #542E67

    oklch(37.6% 0.102 313.3)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB6ACC 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)#5581CF0.130
Deuteranopia (no green cones)#6786C90.118
Tritanopia (no blue cones)#A879910.107
Achromatopsia (no color)#8585850.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6ACC

    #AB6ACC

    oklch(63.3% 0.156 313.3)

  • #629D2D

    #629D2D

    oklch(63.3% 0.155 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6ACC

    #AB6ACC

    oklch(63.3% 0.156 313.3)

  • #7F7AE4

    #7F7AE4

    oklch(63.3% 0.156 283.1)

  • #C85FA2

    #C85FA2

    oklch(63.3% 0.155 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB6ACC

    #AB6ACC

    oklch(63.3% 0.156 313.3)

  • #998D00

    #998D00

    oklch(63.4% 0.134 103.5)

  • #00A372

    #00A372

    oklch(63.3% 0.136 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6ACC

    #AB6ACC

    oklch(63.3% 0.156 313.3)

  • #BA7B00

    #BA7B00

    oklch(63.3% 0.134 73.4)

  • #009E9C

    #009E9C

    oklch(63.2% 0.108 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6ACC

    #AB6ACC

    oklch(63.3% 0.156 313.3)

  • #D56531

    #D56531

    oklch(63.4% 0.155 43.4)

  • #629D2D

    #629D2D

    oklch(63.3% 0.155 133.3)

  • #0099BE

    #0099BE

    oklch(63.4% 0.118 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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