#AB72DA

Closest named color: Medium Purple (#9370DB). oklch(65.3% 0.159 307.9), rgb(171, 114, 218).

Aa

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

About this color

#AB72DA is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.159 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.041 away. Black text reads best on it, at 6.15:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.159)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.15:1
White text3.41:1

Values

HEX#AB72DA
RGBrgb(171, 114, 218)
HSLhsl(273, 58%, 65%)
OKLCHoklch(65.3% 0.159 307.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 #AB72DA 3.41:1 AA large text Lc -66.9 Content text, not long reading
Black text on #AB72DA 6.15:1 AA Lc 42.7 Non-text elements, placeholder text
#AB72DA text on white 3.41:1 AA large text Lc 61.4 Content text, not long reading
#AB72DA text on black 6.15:1 AA Lc -40.3 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F0

    oklch(88.5% 0.044 307.9)

  4. Step 300

    300

    #CEB4E8

    oklch(80.9% 0.077 307.4)

  5. Step 400

    400

    #B68BDC

    oklch(70.8% 0.123 307.9)

  6. Step 500

    500 (this color)

    #AB72DA

    oklch(65.3% 0.159 307.9)

  7. Step 600

    600

    #8F50C0

    oklch(55.6% 0.173 307.7)

  8. Step 700

    700

    #7A40A5

    oklch(49.1% 0.161 308)

  9. Step 800

    800

    #633686

    oklch(42.8% 0.132 307.7)

  10. Step 900

    900

    #51306B

    oklch(37.8% 0.103 308.1)

  11. Step 950

    950

    #2F1C3F

    oklch(26.9% 0.067 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#AB72DA 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)#5789DE0.123
Deuteranopia (no green cones)#678CD70.112
Tritanopia (no blue cones)#A4839C0.114
Achromatopsia (no color)#8B8B8B0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB72DA

    #AB72DA

    oklch(65.3% 0.159 307.9)

  • #74A120

    #74A120

    oklch(65.3% 0.158 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB72DA

    #AB72DA

    oklch(65.3% 0.159 307.9)

  • #7B83EF

    #7B83EF

    oklch(65.4% 0.159 277.8)

  • #CC65B2

    #CC65B2

    oklch(65.4% 0.16 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB72DA

    #AB72DA

    oklch(65.3% 0.159 307.9)

  • #A79000

    #A79000

    oklch(65.4% 0.135 97.8)

  • #00AB6B

    #00AB6B

    oklch(65.3% 0.153 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB72DA

    #AB72DA

    oklch(65.3% 0.159 307.9)

  • #C97C00

    #C97C00

    oklch(65.3% 0.144 67.4)

  • #00A69D

    #00A69D

    oklch(65.3% 0.114 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB72DA

    #AB72DA

    oklch(65.3% 0.159 307.9)

  • #DF6742

    #DF6742

    oklch(65.3% 0.159 37.7)

  • #74A120

    #74A120

    oklch(65.3% 0.158 127.8)

  • #00A1BF

    #00A1BF

    oklch(65.4% 0.117 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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