#AB6CDC

Closest named color: Medium Purple (#9370DB). oklch(64.5% 0.171 308.3), rgb(171, 108, 220).

Aa

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

About this color

#AB6CDC is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.171 and its hue 308°. 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.91:1.

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

Values

HEX#AB6CDC
RGBrgb(171, 108, 220)
HSLhsl(274, 62%, 64%)
OKLCHoklch(64.5% 0.171 308.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 #AB6CDC 3.55:1 AA large text Lc -68.3 Content text, not long reading
Black text on #AB6CDC 5.91:1 AA Lc 41.3 Non-text elements, placeholder text
#AB6CDC text on white 3.55:1 AA large text Lc 62.8 Content text, not long reading
#AB6CDC text on black 5.91:1 AA Lc -38.9 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

    #D0B2EB

    oklch(80.9% 0.085 308.4)

  5. Step 400

    400

    #B888E0

    oklch(70.6% 0.134 308.4)

  6. Step 500

    500 (this color)

    #AB6CDC

    oklch(64.5% 0.171 308.3)

  7. Step 600

    600

    #924CC4

    oklch(55.6% 0.185 308.4)

  8. Step 700

    700

    #7C3CAA

    oklch(49.1% 0.173 308)

  9. Step 800

    800

    #653289

    oklch(42.6% 0.143 308.5)

  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

#AB6CDC 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)#4D85E00.136
Deuteranopia (no green cones)#5F89D90.124
Tritanopia (no blue cones)#A47F9A0.122
Achromatopsia (no color)#8888880.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6CDC

    #AB6CDC

    oklch(64.5% 0.171 308.3)

  • #6EA000

    #6EA000

    oklch(64.6% 0.17 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6CDC

    #AB6CDC

    oklch(64.5% 0.171 308.3)

  • #787EF3

    #787EF3

    oklch(64.4% 0.172 278.2)

  • #CD5EB1

    #CD5EB1

    oklch(64.5% 0.171 338.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB6CDC

    #AB6CDC

    oklch(64.5% 0.171 308.3)

  • #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.

  • #AB6CDC

    #AB6CDC

    oklch(64.5% 0.171 308.3)

  • #C57B00

    #C57B00

    oklch(64.6% 0.141 68.4)

  • #00A39B

    #00A39B

    oklch(64.5% 0.112 188.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6CDC

    #AB6CDC

    oklch(64.5% 0.171 308.3)

  • #E16035

    #E16035

    oklch(64.5% 0.171 38.4)

  • #6EA000

    #6EA000

    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 #AB6CDC, closest first.

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

Similar named colors

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

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