#AB7CA2

Closest named color: Heather (#A484AC). oklch(64.5% 0.078 333.4), rgb(171, 124, 162).

Aa

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

About this color

#AB7CA2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.078 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.023 away. Black text reads best on it, at 6.13:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.13:1
White text3.42:1

Values

HEX#AB7CA2
RGBrgb(171, 124, 162)
HSLhsl(311, 22%, 58%)
OKLCHoklch(64.5% 0.078 333.4)

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 #AB7CA2 3.42:1 AA large text Lc -67.1 Content text, not long reading
Black text on #AB7CA2 6.13:1 AA Lc 42.4 Non-text elements, placeholder text
#AB7CA2 text on white 3.42:1 AA large text Lc 61.7 Content text, not long reading
#AB7CA2 text on black 6.13:1 AA Lc -40.0 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7ED

    oklch(93.6% 0.012 334.1)

  3. Step 200

    200

    #E2D4DF

    oklch(88.4% 0.021 332.9)

  4. Step 300

    300

    #D1B8CB

    oklch(81% 0.038 334.3)

  5. Step 400

    400

    #B993B1

    oklch(70.8% 0.061 333.7)

  6. Step 500

    500 (this color)

    #AB7CA2

    oklch(64.5% 0.078 333.4)

  7. Step 600

    600

    #916088

    oklch(55.5% 0.084 333.4)

  8. Step 700

    700

    #7C4F74

    oklch(49.1% 0.08 333.3)

  9. Step 800

    800

    #65415E

    oklch(42.7% 0.066 333.9)

  10. Step 900

    900

    #52374D

    oklch(37.6% 0.051 333.3)

  11. Step 950

    950

    #30212D

    oklch(27.1% 0.031 333.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB7CA2 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)#7C87A40.074
Deuteranopia (no green cones)#878DA00.069
Tritanopia (no blue cones)#AF7E890.040
Achromatopsia (no color)#8B8B8B0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7CA2

    #AB7CA2

    oklch(64.5% 0.078 333.4)

  • #689C77

    #689C77

    oklch(64.6% 0.078 152.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7CA2

    #AB7CA2

    oklch(64.5% 0.078 333.4)

  • #9782B5

    #9782B5

    oklch(64.4% 0.078 303.1)

  • #B67A89

    #B67A89

    oklch(64.5% 0.077 3.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB7CA2

    #AB7CA2

    oklch(64.5% 0.078 333.4)

  • #849660

    #849660

    oklch(64.5% 0.078 123.6)

  • #519D92

    #519D92

    oklch(64.4% 0.078 183.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7CA2

    #AB7CA2

    oklch(64.5% 0.078 333.4)

  • #9E8D55

    #9E8D55

    oklch(64.6% 0.078 93.1)

  • #4F9AAA

    #4F9AAA

    oklch(64.4% 0.078 213.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7CA2

    #AB7CA2

    oklch(64.5% 0.078 333.4)

  • #B0835B

    #B0835B

    oklch(64.5% 0.078 62.4)

  • #689C77

    #689C77

    oklch(64.6% 0.078 152.9)

  • #6393BA

    #6393BA

    oklch(64.4% 0.078 243.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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