#AB30B4

Closest named color: Purply (#983FB2). oklch(54.8% 0.216 325), rgb(171, 48, 180).

Aa

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

About this color

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

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

Values

HEX#AB30B4
RGBrgb(171, 48, 180)
HSLhsl(296, 58%, 45%)
OKLCHoklch(54.8% 0.216 325)

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 #AB30B4 5.50:1 AA Lc -81.7 Fine for body text
Black text on #AB30B4 3.81:1 AA large text Lc 27.7 Dividers and decoration only
#AB30B4 text on white 5.50:1 AA Lc 76.3 Fine for body text
#AB30B4 text on black 3.81:1 AA large text Lc -25.4 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #ECCEED

    oklch(88.6% 0.053 325)

  4. Step 300

    300

    #E1ABE3

    oklch(80.9% 0.097 325.3)

  5. Step 400

    400

    #D07CD5

    oklch(70.7% 0.154 325)

  6. Step 500

    500

    #C255CA

    oklch(63.1% 0.198 324.9)

  7. Step 600

    600 (this color)

    #AB30B4

    oklch(54.8% 0.216 325)

  8. Step 700

    700

    #95239D

    oklch(49.1% 0.201 325.1)

  9. Step 800

    800

    #79207F

    oklch(42.7% 0.166 325.2)

  10. Step 900

    900

    #622266

    oklch(37.7% 0.129 325.3)

  11. Step 950

    950

    #39153C

    oklch(26.9% 0.082 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB30B4 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)#005FB80.228
Deuteranopia (no green cones)#4B6EB10.192
Tritanopia (no blue cones)#AF47700.124
Achromatopsia (no color)#6969690.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB30B4

    #AB30B4

    oklch(54.8% 0.216 325)

  • #008923

    #008923

    oklch(54.8% 0.172 145)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB30B4

    #AB30B4

    oklch(54.8% 0.216 325)

  • #7F48DE

    #7F48DE

    oklch(54.8% 0.215 295.1)

  • #C71577

    #C71577

    oklch(54.8% 0.215 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB30B4

    #AB30B4

    oklch(54.8% 0.216 325)

  • #6F7900

    #6F7900

    oklch(54.9% 0.125 115.4)

  • #00846E

    #00846E

    oklch(54.8% 0.103 175.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB30B4

    #AB30B4

    oklch(54.8% 0.216 325)

  • #8F6B00

    #8F6B00

    oklch(54.9% 0.112 85.2)

  • #00808B

    #00808B

    oklch(54.8% 0.094 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB30B4

    #AB30B4

    oklch(54.8% 0.216 325)

  • #AB5700

    #AB5700

    oklch(54.8% 0.136 55.1)

  • #008923

    #008923

    oklch(54.8% 0.172 145)

  • #007AAB

    #007AAB

    oklch(54.7% 0.117 235.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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