#A42E9D

Closest named color: Warm Purple (#952E8F). oklch(52.3% 0.196 330.5), rgb(164, 46, 157).

Aa

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

About this color

#A42E9D is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.196 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.036 away. White text reads best on it, at 6.07:1.

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

Values

HEX#A42E9D
RGBrgb(164, 46, 157)
HSLhsl(304, 56%, 41%)
OKLCHoklch(52.3% 0.196 330.5)

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

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EECDEA

    oklch(88.5% 0.053 330)

  4. Step 300

    300

    #E4AADD

    oklch(80.8% 0.095 330.6)

  5. Step 400

    400

    #D57BCC

    oklch(70.8% 0.151 330.7)

  6. Step 500

    500

    #C853BF

    oklch(63.1% 0.195 330.7)

  7. Step 600

    600

    #B331AB

    oklch(55.6% 0.211 330.7)

  8. Step 700

    700 (this color)

    #A42E9D

    oklch(52.3% 0.196 330.5)

  9. Step 800

    800

    #7D1F77

    oklch(42.7% 0.163 330.8)

  10. Step 900

    900

    #652160

    oklch(37.7% 0.127 330.8)

  11. Step 950

    950

    #3B1538

    oklch(27% 0.079 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#A42E9D 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)#2258A00.211
Deuteranopia (no green cones)#51689A0.179
Tritanopia (no blue cones)#AA3D620.106
Achromatopsia (no color)#6262620.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #A42E9D

    #A42E9D

    oklch(52.3% 0.196 330.5)

  • #007F3A

    #007F3A

    oklch(52.2% 0.142 150.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A42E9D

    #A42E9D

    oklch(52.3% 0.196 330.5)

  • #7E42C7

    #7E42C7

    oklch(52.2% 0.197 300.3)

  • #BB1C64

    #BB1C64

    oklch(52.3% 0.196 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #A42E9D

    #A42E9D

    oklch(52.3% 0.196 330.5)

  • #607400

    #607400

    oklch(52.4% 0.125 120.9)

  • #007B6C

    #007B6C

    oklch(52.2% 0.095 180.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A42E9D

    #A42E9D

    oklch(52.3% 0.196 330.5)

  • #816600

    #816600

    oklch(52.2% 0.107 90.5)

  • #007787

    #007787

    oklch(52.2% 0.091 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A42E9D

    #A42E9D

    oklch(52.3% 0.196 330.5)

  • #9B5600

    #9B5600

    oklch(52.3% 0.122 60.7)

  • #007F3A

    #007F3A

    oklch(52.2% 0.142 150.5)

  • #0071A8

    #0071A8

    oklch(52.4% 0.121 240.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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