#AB6BDC

Closest named color: Medium Purple (#9370DB). oklch(64.4% 0.172 308.5), rgb(171, 107, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.172)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.86:1
White text3.57:1

Values

HEX#AB6BDC
RGBrgb(171, 107, 220)
HSLhsl(274, 62%, 64%)
OKLCHoklch(64.4% 0.172 308.5)

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 #AB6BDC 3.57:1 AA large text Lc -68.6 Content text, not long reading
Black text on #AB6BDC 5.86:1 AA Lc 41.0 Non-text elements, placeholder text
#AB6BDC text on white 3.57:1 AA large text Lc 63.1 Content text, not long reading
#AB6BDC text on black 5.86:1 AA Lc -38.6 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

    #B888E1

    oklch(70.7% 0.135 308.1)

  6. Step 500

    500 (this color)

    #AB6BDC

    oklch(64.4% 0.172 308.5)

  7. Step 600

    600

    #924BC5

    oklch(55.5% 0.187 308.3)

  8. Step 700

    700

    #7D3BAA

    oklch(49.1% 0.174 308.7)

  9. Step 800

    800

    #65328A

    oklch(42.7% 0.144 308.2)

  10. Step 900

    900

    #532D6E

    oklch(37.7% 0.112 309)

  11. Step 950

    950

    #301B41

    oklch(27% 0.072 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB6BDC 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)#4B85E00.138
Deuteranopia (no green cones)#5E88D90.125
Tritanopia (no blue cones)#A47F9A0.123
Achromatopsia (no color)#8787870.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB6BDC

    #AB6BDC

    oklch(64.4% 0.172 308.5)

  • #6E9F00

    #6E9F00

    oklch(64.3% 0.169 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB6BDC

    #AB6BDC

    oklch(64.4% 0.172 308.5)

  • #787DF3

    #787DF3

    oklch(64.3% 0.173 278.5)

  • #CD5DB0

    #CD5DB0

    oklch(64.3% 0.172 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB6BDC

    #AB6BDC

    oklch(64.4% 0.172 308.5)

  • #A28D00

    #A28D00

    oklch(64.3% 0.133 98.6)

  • #00A86A

    #00A86A

    oklch(64.5% 0.15 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB6BDC

    #AB6BDC

    oklch(64.4% 0.172 308.5)

  • #C47A00

    #C47A00

    oklch(64.3% 0.141 68.2)

  • #00A39A

    #00A39A

    oklch(64.5% 0.112 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB6BDC

    #AB6BDC

    oklch(64.4% 0.172 308.5)

  • #E15F33

    #E15F33

    oklch(64.3% 0.173 38.5)

  • #6E9F00

    #6E9F00

    oklch(64.3% 0.169 128.3)

  • #009DBC

    #009DBC

    oklch(64.3% 0.116 218.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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