#AB319C

Closest named color: Warm Purple (#952E8F). oklch(53.6% 0.196 333.4), rgb(171, 49, 156).

Aa

White text reads best on this color (5.75:1).

About this color

#AB319C is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.196 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.048 away. White text reads best on it, at 5.75:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.196)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.65:1
White text5.75:1

Values

HEX#AB319C
RGBrgb(171, 49, 156)
HSLhsl(307, 55%, 43%)
OKLCHoklch(53.6% 0.196 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 #AB319C 5.75:1 AA Lc -83.0 Fine for body text
Black text on #AB319C 3.65:1 AA large text Lc 26.4 Dividers and decoration only
#AB319C text on white 5.75:1 AA Lc 77.7 Fine for body text
#AB319C text on black 3.65:1 AA large text Lc -24.1 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECEE7

    oklch(88.6% 0.049 333.5)

  4. Step 300

    300

    #E4ACD9

    oklch(81% 0.088 333.4)

  5. Step 400

    400

    #D47DC5

    oklch(70.7% 0.141 333.5)

  6. Step 500

    500

    #C758B7

    oklch(63.2% 0.181 333.4)

  7. Step 600

    600 (this color)

    #AB319C

    oklch(53.6% 0.196 333.4)

  8. Step 700

    700

    #99298B

    oklch(49.2% 0.182 333.6)

  9. Step 800

    800

    #7C2471

    oklch(42.7% 0.151 333.3)

  10. Step 900

    900

    #64245B

    oklch(37.7% 0.117 333.5)

  11. Step 950

    950

    #3B1636

    oklch(27% 0.075 332.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB319C 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)#2D5B9F0.211
Deuteranopia (no green cones)#596C990.180
Tritanopia (no blue cones)#B33C630.100
Achromatopsia (no color)#6666660.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB319C

    #AB319C

    oklch(53.6% 0.196 333.4)

  • #008345

    #008345

    oklch(53.5% 0.137 153.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB319C

    #AB319C

    oklch(53.6% 0.196 333.4)

  • #8645C8

    #8645C8

    oklch(53.6% 0.196 303.1)

  • #C12162

    #C12162

    oklch(53.6% 0.197 3.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB319C

    #AB319C

    oklch(53.6% 0.196 333.4)

  • #5F7900

    #5F7900

    oklch(53.6% 0.132 123.3)

  • #007F73

    #007F73

    oklch(53.6% 0.095 183.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB319C

    #AB319C

    oklch(53.6% 0.196 333.4)

  • #836B00

    #836B00

    oklch(53.5% 0.11 93.3)

  • #007B8E

    #007B8E

    oklch(53.6% 0.094 213.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB319C

    #AB319C

    oklch(53.6% 0.196 333.4)

  • #9D5B00

    #9D5B00

    oklch(53.5% 0.121 63.6)

  • #008345

    #008345

    oklch(53.5% 0.137 153.3)

  • #0073B3

    #0073B3

    oklch(53.5% 0.132 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 #AB319C, closest first.

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

Similar named colors

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

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