#A0158D

Closest named color: Warm Purple (#952E8F). oklch(49.1% 0.205 335.1), rgb(160, 21, 141).

Aa

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

About this color

#A0158D is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.205 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.032 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.98:1
White text7.03:1

Values

HEX#A0158D
RGBrgb(160, 21, 141)
HSLhsl(308, 77%, 35%)
OKLCHoklch(49.1% 0.205 335.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 #A0158D 7.03:1 AAA Lc -87.7 Fine for body text
Black text on #A0158D 2.98:1 Fails Lc 21.4 Dividers and decoration only
#A0158D text on white 7.03:1 AAA Lc 82.6 Fine for body text
#A0158D text on black 2.98:1 Fails Lc -19.3 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F1CCE8

    oklch(88.5% 0.055 334.6)

  4. Step 300

    300

    #E9A8DA

    oklch(80.8% 0.1 335)

  5. Step 400

    400

    #DC77C7

    oklch(70.8% 0.158 335.4)

  6. Step 500

    500

    #CF4DB9

    oklch(63.1% 0.203 335)

  7. Step 600

    600

    #BA27A5

    oklch(55.6% 0.221 334.9)

  8. Step 700

    700 (this color)

    #A0158D

    oklch(49.1% 0.205 335.1)

  9. Step 800

    800

    #821773

    oklch(42.7% 0.171 334.8)

  10. Step 900

    900

    #691D5D

    oklch(37.8% 0.132 334.9)

  11. Step 950

    950

    #3E1336

    oklch(27.1% 0.083 335.6)

Export this scale for Tailwind in the Tailwind colors tool

#A0158D 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)#144C900.230
Deuteranopia (no green cones)#4D608A0.193
Tritanopia (no blue cones)#A825540.102
Achromatopsia (no color)#5959590.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #A0158D

    #A0158D

    oklch(49.1% 0.205 335.1)

  • #007441

    #007441

    oklch(49.1% 0.121 155.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A0158D

    #A0158D

    oklch(49.1% 0.205 335.1)

  • #7D30BB

    #7D30BB

    oklch(49.1% 0.206 305.1)

  • #B20051

    #B20051

    oklch(49.1% 0.197 5.2)

Open the analogous palette in the generator

Split complementary

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

  • #A0158D

    #A0158D

    oklch(49.1% 0.205 335.1)

  • #516C00

    #516C00

    oklch(49.2% 0.123 125)

  • #007067

    #007067

    oklch(49% 0.086 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A0158D

    #A0158D

    oklch(49.1% 0.205 335.1)

  • #735F00

    #735F00

    oklch(49.1% 0.101 94.6)

  • #006D7F

    #006D7F

    oklch(49.2% 0.087 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A0158D

    #A0158D

    oklch(49.1% 0.205 335.1)

  • #8A5100

    #8A5100

    oklch(49% 0.11 65.1)

  • #007441

    #007441

    oklch(49.1% 0.121 155.2)

  • #0065A1

    #0065A1

    oklch(49% 0.124 245.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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