#A128DD

Closest named color: Vibrant Purple (#AD03DE). oklch(55.7% 0.253 310.6), rgb(161, 40, 221).

Aa

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

About this color

#A128DD is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.253 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.030 away. White text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.253)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.86:1
White text5.43:1

Values

HEX#A128DD
RGBrgb(161, 40, 221)
HSLhsl(280, 73%, 51%)
OKLCHoklch(55.7% 0.253 310.6)

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 #A128DD 5.43:1 AA Lc -81.0 Fine for body text
Black text on #A128DD 3.86:1 AA large text Lc 28.4 Dividers and decoration only
#A128DD text on white 5.43:1 AA Lc 75.6 Fine for body text
#A128DD text on black 3.86:1 AA large text Lc -26.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E6CEF9

    oklch(88.5% 0.063 310.1)

  4. Step 300

    300

    #D8ACF7

    oklch(81% 0.113 310.7)

  5. Step 400

    400

    #C47BF3

    oklch(70.7% 0.182 310.6)

  6. Step 500

    500

    #B551EF

    oklch(63.2% 0.233 310.5)

  7. Step 600

    600 (this color)

    #A128DD

    oklch(55.7% 0.253 310.6)

  8. Step 700

    700

    #8A15C0

    oklch(49.2% 0.236 310.6)

  9. Step 800

    800

    #70189B

    oklch(42.7% 0.195 310.7)

  10. Step 900

    900

    #5A1E7B

    oklch(37.6% 0.152 310.5)

  11. Step 950

    950

    #351448

    oklch(27% 0.096 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#A128DD 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)#0065E20.206
Deuteranopia (no green cones)#006BD90.210
Tritanopia (no blue cones)#9958850.170
Achromatopsia (no color)#6A6A6A0.255

Harmonies

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

Complementary

The opposite hue (180°).

  • #A128DD

    #A128DD

    oklch(55.7% 0.253 310.6)

  • #538400

    #538400

    oklch(55.7% 0.152 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A128DD

    #A128DD

    oklch(55.7% 0.253 310.6)

  • #644BFF

    #644BFF

    oklch(55.6% 0.251 280.7)

  • #C6009D

    #C6009D

    oklch(55.7% 0.241 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #A128DD

    #A128DD

    oklch(55.7% 0.253 310.6)

  • #837400

    #837400

    oklch(55.6% 0.116 100.3)

  • #00895A

    #00895A

    oklch(55.6% 0.125 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A128DD

    #A128DD

    oklch(55.7% 0.253 310.6)

  • #9F6500

    #9F6500

    oklch(55.7% 0.12 70.6)

  • #008580

    #008580

    oklch(55.7% 0.096 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A128DD

    #A128DD

    oklch(55.7% 0.253 310.6)

  • #C24400

    #C24400

    oklch(55.7% 0.173 40.6)

  • #538400

    #538400

    oklch(55.7% 0.152 130.8)

  • #00809D

    #00809D

    oklch(55.6% 0.102 221.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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