#A52E9A

Closest named color: Warm Purple (#952E8F). oklch(52.3% 0.195 332), rgb(165, 46, 154).

Aa

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

About this color

#A52E9A is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.195 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.035 away. White text reads best on it, at 6.07:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.195)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.45:1
White text6.07:1

Values

HEX#A52E9A
RGBrgb(165, 46, 154)
HSLhsl(306, 56%, 41%)
OKLCHoklch(52.3% 0.195 332)

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 #A52E9A 6.07:1 AA Lc -84.5 Fine for body text
Black text on #A52E9A 3.45:1 AA large text Lc 24.8 Dividers and decoration only
#A52E9A text on white 6.07:1 AA Lc 79.2 Fine for body text
#A52E9A text on black 3.45:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E5AADC

    oklch(80.8% 0.095 331.8)

  5. Step 400

    400

    #D67ACA

    oklch(70.6% 0.151 332)

  6. Step 500

    500

    #C953BC

    oklch(63.1% 0.193 332.1)

  7. Step 600

    600

    #B431A8

    oklch(55.6% 0.21 332)

  8. Step 700

    700 (this color)

    #A52E9A

    oklch(52.3% 0.195 332)

  9. Step 800

    800

    #7E1F75

    oklch(42.8% 0.162 332.2)

  10. Step 900

    900

    #65215E

    oklch(37.6% 0.125 332.1)

  11. Step 950

    950

    #3C1537

    oklch(27.1% 0.079 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#A52E9A 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)#27589D0.209
Deuteranopia (no green cones)#5468970.178
Tritanopia (no blue cones)#AC3B610.102
Achromatopsia (no color)#6262620.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #A52E9A

    #A52E9A

    oklch(52.3% 0.195 332)

  • #007F3F

    #007F3F

    oklch(52.2% 0.137 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A52E9A

    #A52E9A

    oklch(52.3% 0.195 332)

  • #8042C4

    #8042C4

    oklch(52.2% 0.194 301.9)

  • #BB1D61

    #BB1D61

    oklch(52.3% 0.195 2)

Open the analogous palette in the generator

Split complementary

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

  • #A52E9A

    #A52E9A

    oklch(52.3% 0.195 332)

  • #5E7400

    #5E7400

    oklch(52.2% 0.126 121.8)

  • #007B6E

    #007B6E

    oklch(52.3% 0.094 182.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A52E9A

    #A52E9A

    oklch(52.3% 0.195 332)

  • #806700

    #806700

    oklch(52.3% 0.107 92.1)

  • #007788

    #007788

    oklch(52.2% 0.091 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A52E9A

    #A52E9A

    oklch(52.3% 0.195 332)

  • #9A5700

    #9A5700

    oklch(52.4% 0.121 62)

  • #007F3F

    #007F3F

    oklch(52.2% 0.137 152)

  • #0070AA

    #0070AA

    oklch(52.2% 0.124 241.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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