#A542AB

Closest named color: Purply (#983FB2). oklch(55.3% 0.183 325.4), rgb(165, 66, 171).

Aa

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

About this color

#A542AB is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.183 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.030 away. White text reads best on it, at 5.29:1.

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

Values

HEX#A542AB
RGBrgb(165, 66, 171)
HSLhsl(297, 44%, 46%)
OKLCHoklch(55.3% 0.183 325.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 #A542AB 5.29:1 AA Lc -81.0 Fine for body text
Black text on #A542AB 3.96:1 AA large text Lc 28.5 Dividers and decoration only
#A542AB text on white 5.29:1 AA Lc 75.6 Fine for body text
#A542AB text on black 3.96: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F3E5F3

    oklch(93.7% 0.024 325.8)

  3. Step 200

    200

    #E9CFEA

    oklch(88.4% 0.046 324.8)

  4. Step 300

    300

    #DCAFDE

    oklch(80.9% 0.081 324.9)

  5. Step 400

    400

    #CA82CD

    oklch(70.6% 0.132 325.5)

  6. Step 500

    500

    #BB60C0

    oklch(63.1% 0.168 325.4)

  7. Step 600

    600 (this color)

    #A542AB

    oklch(55.3% 0.183 325.4)

  8. Step 700

    700

    #8E3494

    oklch(49.1% 0.17 325.2)

  9. Step 800

    800

    #742C78

    oklch(42.8% 0.141 325.6)

  10. Step 900

    900

    #5E2961

    oklch(37.8% 0.11 325.4)

  11. Step 950

    950

    #371939

    oklch(27.1% 0.069 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#A542AB 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)#3164AE0.185
Deuteranopia (no green cones)#5670A80.159
Tritanopia (no blue cones)#A951700.107
Achromatopsia (no color)#6B6B6B0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #A542AB

    #A542AB

    oklch(55.3% 0.183 325.4)

  • #008B26

    #008B26

    oklch(55.4% 0.172 145.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A542AB

    #A542AB

    oklch(55.3% 0.183 325.4)

  • #7E54CF

    #7E54CF

    oklch(55.3% 0.182 295.6)

  • #BE3577

    #BE3577

    oklch(55.3% 0.182 355.4)

Open the analogous palette in the generator

Split complementary

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

  • #A542AB

    #A542AB

    oklch(55.3% 0.183 325.4)

  • #707A00

    #707A00

    oklch(55.2% 0.125 115.3)

  • #00866F

    #00866F

    oklch(55.4% 0.104 175)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A542AB

    #A542AB

    oklch(55.3% 0.183 325.4)

  • #906C00

    #906C00

    oklch(55.2% 0.113 85.4)

  • #00828D

    #00828D

    oklch(55.4% 0.095 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A542AB

    #A542AB

    oklch(55.3% 0.183 325.4)

  • #AD5800

    #AD5800

    oklch(55.3% 0.137 55)

  • #008B26

    #008B26

    oklch(55.4% 0.172 145.3)

  • #007CAD

    #007CAD

    oklch(55.4% 0.118 235.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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