#A52FB8

Closest named color: Purply (#983FB2). oklch(54.1% 0.217 321.7), rgb(165, 47, 184).

Aa

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

About this color

#A52FB8 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.217 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.034 away. White text reads best on it, at 5.67:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.217)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.69:1
White text5.67:1

Values

HEX#A52FB8
RGBrgb(165, 47, 184)
HSLhsl(292, 59%, 45%)
OKLCHoklch(54.1% 0.217 321.7)

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 #A52FB8 5.67:1 AA Lc -82.5 Fine for body text
Black text on #A52FB8 3.69:1 AA large text Lc 26.8 Dividers and decoration only
#A52FB8 text on white 5.67:1 AA Lc 77.2 Fine for body text
#A52FB8 text on black 3.69:1 AA large text Lc -24.5 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEF

    oklch(88.6% 0.054 322.2)

  4. Step 300

    300

    #DEACE7

    oklch(80.9% 0.098 321.2)

  5. Step 400

    400

    #CD7DDA

    oklch(70.8% 0.156 321.8)

  6. Step 500

    500

    #BE56D0

    oklch(63% 0.2 321.5)

  7. Step 600

    600 (this color)

    #A52FB8

    oklch(54.1% 0.217 321.7)

  8. Step 700

    700

    #9125A3

    oklch(49.1% 0.202 321.4)

  9. Step 800

    800

    #762284

    oklch(42.7% 0.167 321.5)

  10. Step 900

    900

    #60236A

    oklch(37.8% 0.13 321.8)

  11. Step 950

    950

    #38163E

    oklch(27% 0.082 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#A52FB8 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)#005EBC0.219
Deuteranopia (no green cones)#416BB50.191
Tritanopia (no blue cones)#A74A720.131
Achromatopsia (no color)#6767670.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #A52FB8

    #A52FB8

    oklch(54.1% 0.217 321.7)

  • #138700

    #138700

    oklch(54.2% 0.181 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A52FB8

    #A52FB8

    oklch(54.1% 0.217 321.7)

  • #7748E0

    #7748E0

    oklch(54.2% 0.217 291.7)

  • #C3117D

    #C3117D

    oklch(54.2% 0.217 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #A52FB8

    #A52FB8

    oklch(54.1% 0.217 321.7)

  • #727500

    #727500

    oklch(54.2% 0.12 111.6)

  • #008268

    #008268

    oklch(54% 0.105 172.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A52FB8

    #A52FB8

    oklch(54.1% 0.217 321.7)

  • #8F6700

    #8F6700

    oklch(54.1% 0.111 81.8)

  • #007F86

    #007F86

    oklch(54.3% 0.092 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A52FB8

    #A52FB8

    oklch(54.1% 0.217 321.7)

  • #AC5200

    #AC5200

    oklch(54.1% 0.14 51.7)

  • #138700

    #138700

    oklch(54.2% 0.181 141.7)

  • #0079A3

    #0079A3

    oklch(54.1% 0.11 231.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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