#AB38A8

Closest named color: Purply (#983FB2). oklch(54.9% 0.197 328.9), rgb(171, 56, 168).

Aa

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

About this color

#AB38A8 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.197 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.041 away. White text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.197)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.86:1
White text5.43:1

Values

HEX#AB38A8
RGBrgb(171, 56, 168)
HSLhsl(302, 51%, 45%)
OKLCHoklch(54.9% 0.197 328.9)

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 #AB38A8 5.43:1 AA Lc -81.5 Fine for body text
Black text on #AB38A8 3.86:1 AA large text Lc 27.9 Dividers and decoration only
#AB38A8 text on white 5.43:1 AA Lc 76.2 Fine for body text
#AB38A8 text on black 3.86:1 AA large text Lc -25.6 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #ECCEE9

    oklch(88.5% 0.049 329.2)

  4. Step 300

    300

    #E1ACDD

    oklch(80.8% 0.089 328.9)

  5. Step 400

    400

    #D07ECC

    oklch(70.6% 0.142 328.7)

  6. Step 500

    500

    #C25ABE

    oklch(63.1% 0.18 328.9)

  7. Step 600

    600 (this color)

    #AB38A8

    oklch(54.9% 0.197 328.9)

  8. Step 700

    700

    #952B92

    oklch(49.1% 0.183 329.1)

  9. Step 800

    800

    #792677

    oklch(42.8% 0.152 328.8)

  10. Step 900

    900

    #622560

    oklch(37.8% 0.118 328.9)

  11. Step 950

    950

    #391738

    oklch(27% 0.074 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB38A8 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)#2A60AB0.207
Deuteranopia (no green cones)#576FA50.176
Tritanopia (no blue cones)#B1476B0.109
Achromatopsia (no color)#6A6A6A0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB38A8

    #AB38A8

    oklch(54.9% 0.197 328.9)

  • #008939

    #008939

    oklch(55% 0.156 148.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB38A8

    #AB38A8

    oklch(54.9% 0.197 328.9)

  • #834CD1

    #834CD1

    oklch(54.8% 0.196 298.8)

  • #C3286F

    #C3286F

    oklch(54.8% 0.196 358.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB38A8

    #AB38A8

    oklch(54.9% 0.197 328.9)

  • #6A7B00

    #6A7B00

    oklch(55% 0.129 118.9)

  • #008472

    #008472

    oklch(54.9% 0.101 178.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB38A8

    #AB38A8

    oklch(54.9% 0.197 328.9)

  • #8C6D00

    #8C6D00

    oklch(55% 0.112 88.9)

  • #00808F

    #00808F

    oklch(54.9% 0.095 209.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB38A8

    #AB38A8

    oklch(54.9% 0.197 328.9)

  • #A75B00

    #A75B00

    oklch(54.9% 0.13 59.2)

  • #008939

    #008939

    oklch(55% 0.156 148.9)

  • #0079B1

    #0079B1

    oklch(54.8% 0.124 239.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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