#A13798

Closest named color: Warm Purple (#952E8F). oklch(52.4% 0.18 331.4), rgb(161, 55, 152).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.180)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.51:1
White text5.97:1

Values

HEX#A13798
RGBrgb(161, 55, 152)
HSLhsl(305, 49%, 42%)
OKLCHoklch(52.4% 0.18 331.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 #A13798 5.97:1 AA Lc -84.2 Fine for body text
Black text on #A13798 3.51:1 AA large text Lc 25.1 Dividers and decoration only
#A13798 text on white 5.97:1 AA Lc 79.0 Fine for body text
#A13798 text on black 3.51:1 AA large text Lc -22.8 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EBCFE7

    oklch(88.5% 0.044 330.6)

  4. Step 300

    300

    #E0AED9

    oklch(80.9% 0.081 331.1)

  5. Step 400

    400

    #CF81C5

    oklch(70.7% 0.13 331.6)

  6. Step 500

    500

    #C05EB6

    oklch(63% 0.165 331.3)

  7. Step 600

    600 (this color)

    #A13798

    oklch(52.4% 0.18 331.4)

  8. Step 700

    700

    #93328B

    oklch(49.1% 0.167 331.2)

  9. Step 800

    800

    #772B71

    oklch(42.7% 0.138 330.9)

  10. Step 900

    900

    #61285B

    oklch(37.8% 0.108 331.7)

  11. Step 950

    950

    #391835

    oklch(27% 0.068 332)

Export this scale for Tailwind in the Tailwind colors tool

#A13798 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)#315A9B0.189
Deuteranopia (no green cones)#5669950.163
Tritanopia (no blue cones)#A742630.095
Achromatopsia (no color)#6363630.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A13798

    #A13798

    oklch(52.4% 0.18 331.4)

  • #00803D

    #00803D

    oklch(52.5% 0.141 151.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A13798

    #A13798

    oklch(52.4% 0.18 331.4)

  • #7E48BF

    #7E48BF

    oklch(52.5% 0.18 301.3)

  • #B62B63

    #B62B63

    oklch(52.4% 0.179 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #A13798

    #A13798

    oklch(52.4% 0.18 331.4)

  • #5F7400

    #5F7400

    oklch(52.3% 0.126 121.3)

  • #007C6E

    #007C6E

    oklch(52.6% 0.095 181.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A13798

    #A13798

    oklch(52.4% 0.18 331.4)

  • #816700

    #816700

    oklch(52.4% 0.107 91.4)

  • #007888

    #007888

    oklch(52.5% 0.091 210.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A13798

    #A13798

    oklch(52.4% 0.18 331.4)

  • #9B5700

    #9B5700

    oklch(52.5% 0.121 61.5)

  • #00803D

    #00803D

    oklch(52.5% 0.141 151.2)

  • #0071AA

    #0071AA

    oklch(52.5% 0.123 241.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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