#A252AC

Closest named color: Amethyst (#9B5FC0). oklch(57% 0.157 323.1), rgb(162, 82, 172).

Aa

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

About this color

#A252AC is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.157 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.039 away. White text reads best on it, at 4.83:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.157)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.33:1
White text4.83:1

Values

HEX#A252AC
RGBrgb(162, 82, 172)
HSLhsl(293, 35%, 50%)
OKLCHoklch(57% 0.157 323.1)

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 #A252AC 4.83:1 AA Lc -78.6 Fine for body text
Black text on #A252AC 4.33:1 AA large text Lc 30.9 Non-text elements, placeholder text
#A252AC text on white 4.83:1 AA Lc 73.1 Content text, not long reading
#A252AC text on black 4.33:1 AA large text Lc -28.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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E8

    oklch(88.5% 0.038 323.2)

  4. Step 300

    300

    #D7B2DB

    oklch(80.9% 0.07 323)

  5. Step 400

    400

    #C388C9

    oklch(70.7% 0.113 323.5)

  6. Step 500

    500

    #B268BB

    oklch(63% 0.144 323.1)

  7. Step 600

    600 (this color)

    #A252AC

    oklch(57% 0.157 323.1)

  8. Step 700

    700

    #873E90

    oklch(49.2% 0.147 323.1)

  9. Step 800

    800

    #6D3475

    oklch(42.7% 0.121 322.6)

  10. Step 900

    900

    #592E5E

    oklch(37.7% 0.094 323.3)

  11. Step 950

    950

    #341B37

    oklch(26.9% 0.06 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#A252AC 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)#456CAF0.150
Deuteranopia (no green cones)#5E75A90.133
Tritanopia (no blue cones)#A45E770.095
Achromatopsia (no color)#7272720.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #A252AC

    #A252AC

    oklch(57% 0.157 323.1)

  • #318E30

    #318E30

    oklch(57.1% 0.158 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A252AC

    #A252AC

    oklch(57% 0.157 323.1)

  • #7D61CA

    #7D61CA

    oklch(57% 0.157 293.1)

  • #BA487F

    #BA487F

    oklch(57% 0.158 353.3)

Open the analogous palette in the generator

Split complementary

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

  • #A252AC

    #A252AC

    oklch(57% 0.157 323.1)

  • #787E00

    #787E00

    oklch(56.9% 0.127 113.1)

  • #008C71

    #008C71

    oklch(57.1% 0.11 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A252AC

    #A252AC

    oklch(57% 0.157 323.1)

  • #997000

    #997000

    oklch(57.1% 0.117 83.1)

  • #008891

    #008891

    oklch(57.1% 0.097 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A252AC

    #A252AC

    oklch(57% 0.157 323.1)

  • #B75A00

    #B75A00

    oklch(57% 0.145 53)

  • #318E30

    #318E30

    oklch(57.1% 0.158 143)

  • #0082B1

    #0082B1

    oklch(57.1% 0.118 232.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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