#A04798

Closest named color: Purply (#983FB2). oklch(54.2% 0.155 331), rgb(160, 71, 152).

Aa

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

About this color

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

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

Values

HEX#A04798
RGBrgb(160, 71, 152)
HSLhsl(305, 39%, 45%)
OKLCHoklch(54.2% 0.155 331)

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 #A04798 5.45:1 AA Lc -82.0 Fine for body text
Black text on #A04798 3.84:1 AA large text Lc 27.4 Dividers and decoration only
#A04798 text on white 5.45:1 AA Lc 76.7 Fine for body text
#A04798 text on black 3.84:1 AA large text Lc -25.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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D0E5

    oklch(88.4% 0.039 331.2)

  4. Step 300

    300

    #DCB1D6

    oklch(81% 0.07 330.9)

  5. Step 400

    400

    #C986C1

    oklch(70.7% 0.113 331)

  6. Step 500

    500

    #B966B1

    oklch(63.1% 0.143 330.7)

  7. Step 600

    600 (this color)

    #A04798

    oklch(54.2% 0.155 331)

  8. Step 700

    700

    #8D3C86

    oklch(49.2% 0.144 331)

  9. Step 800

    800

    #72326D

    oklch(42.7% 0.12 330.5)

  10. Step 900

    900

    #5D2D58

    oklch(37.8% 0.093 331.2)

  11. Step 950

    950

    #361B34

    oklch(27% 0.058 329.8)

Export this scale for Tailwind in the Tailwind colors tool

#A04798 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)#43629B0.157
Deuteranopia (no green cones)#5E6E960.139
Tritanopia (no blue cones)#A64F690.083
Achromatopsia (no color)#6969690.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #A04798

    #A04798

    oklch(54.2% 0.155 331)

  • #008640

    #008640

    oklch(54.3% 0.145 151.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A04798

    #A04798

    oklch(54.2% 0.155 331)

  • #8055BA

    #8055BA

    oklch(54.3% 0.155 301)

  • #B33F6A

    #B33F6A

    oklch(54.2% 0.155 0.8)

Open the analogous palette in the generator

Split complementary

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

  • #A04798

    #A04798

    oklch(54.2% 0.155 331)

  • #657A00

    #657A00

    oklch(54.3% 0.13 120.9)

  • #008172

    #008172

    oklch(54.1% 0.098 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A04798

    #A04798

    oklch(54.2% 0.155 331)

  • #876C00

    #876C00

    oklch(54.2% 0.111 91.4)

  • #007D8E

    #007D8E

    oklch(54.1% 0.094 211.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A04798

    #A04798

    oklch(54.2% 0.155 331)

  • #A25B00

    #A25B00

    oklch(54.2% 0.125 61.4)

  • #008640

    #008640

    oklch(54.3% 0.145 151.1)

  • #0076B1

    #0076B1

    oklch(54.1% 0.127 241.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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