#AB5CBB

Closest named color: Amethyst (#9B5FC0). oklch(60.3% 0.161 320.7), rgb(171, 92, 187).

Aa

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

About this color

#AB5CBB is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.161 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.029 away. Black text reads best on it, at 4.98:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.161)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.98:1
White text4.21:1

Values

HEX#AB5CBB
RGBrgb(171, 92, 187)
HSLhsl(290, 41%, 55%)
OKLCHoklch(60.3% 0.161 320.7)

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 #AB5CBB 4.21:1 AA large text Lc -74.2 Content text, not long reading
Black text on #AB5CBB 4.98:1 AA Lc 35.4 Non-text elements, placeholder text
#AB5CBB text on white 4.21:1 AA large text Lc 68.7 Content text, not long reading
#AB5CBB text on black 4.98:1 AA Lc -32.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D8B0E0

    oklch(80.8% 0.079 320.7)

  5. Step 400

    400

    #C485D0

    oklch(70.6% 0.126 321)

  6. Step 500

    500 (this color)

    #AB5CBB

    oklch(60.3% 0.161 320.7)

  7. Step 600

    600

    #9F49B0

    oklch(55.6% 0.174 320.8)

  8. Step 700

    700

    #883998

    oklch(49.1% 0.163 320.6)

  9. Step 800

    800

    #6E307B

    oklch(42.6% 0.135 320.4)

  10. Step 900

    900

    #5A2C63

    oklch(37.8% 0.104 320.9)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB5CBB 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)#4C76BE0.149
Deuteranopia (no green cones)#647EB80.133
Tritanopia (no blue cones)#AC69830.100
Achromatopsia (no color)#7B7B7B0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5CBB

    #AB5CBB

    oklch(60.3% 0.161 320.7)

  • #429732

    #429732

    oklch(60.2% 0.16 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5CBB

    #AB5CBB

    oklch(60.3% 0.161 320.7)

  • #836CD9

    #836CD9

    oklch(60.4% 0.16 290.5)

  • #C5518D

    #C5518D

    oklch(60.3% 0.161 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB5CBB

    #AB5CBB

    oklch(60.3% 0.161 320.7)

  • #868700

    #868700

    oklch(60.3% 0.132 110.3)

  • #009777

    #009777

    oklch(60.2% 0.118 170.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5CBB

    #AB5CBB

    oklch(60.3% 0.161 320.7)

  • #A77800

    #A77800

    oklch(60.4% 0.125 81.1)

  • #00939A

    #00939A

    oklch(60.3% 0.103 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5CBB

    #AB5CBB

    oklch(60.3% 0.161 320.7)

  • #C85F00

    #C85F00

    oklch(60.3% 0.157 50.9)

  • #429732

    #429732

    oklch(60.2% 0.16 140.7)

  • #008DBC

    #008DBC

    oklch(60.3% 0.121 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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