#A01F7C

Closest named color: Red Violet (#9E0168). oklch(48.8% 0.187 342.3), rgb(160, 31, 124).

Aa

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

About this color

#A01F7C is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.187 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.036 away. White text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.98:1
White text7.04:1

Values

HEX#A01F7C
RGBrgb(160, 31, 124)
HSLhsl(317, 68%, 37%)
OKLCHoklch(48.8% 0.187 342.3)

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 #A01F7C 7.04:1 AAA Lc -88.0 Fine for body text
Black text on #A01F7C 2.98:1 Fails Lc 21.1 Dividers and decoration only
#A01F7C text on white 7.04:1 AAA Lc 83.0 Fine for body text
#A01F7C text on black 2.98:1 Fails Lc -18.9 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F2CDE2

    oklch(88.6% 0.05 343.1)

  4. Step 300

    300

    #EAAAD1

    oklch(81% 0.09 342.1)

  5. Step 400

    400

    #DD79B9

    oklch(70.7% 0.145 342.5)

  6. Step 500

    500

    #D052A8

    oklch(63% 0.185 342)

  7. Step 600

    600

    #BB3093

    oklch(55.5% 0.201 342.1)

  8. Step 700

    700 (this color)

    #A01F7C

    oklch(48.8% 0.187 342.3)

  9. Step 800

    800

    #831E66

    oklch(42.7% 0.155 342.1)

  10. Step 900

    900

    #6A2053

    oklch(37.7% 0.121 342.3)

  11. Step 950

    950

    #3E1430

    oklch(26.9% 0.076 342.7)

Export this scale for Tailwind in the Tailwind colors tool

#A01F7C 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)#2D4B7E0.209
Deuteranopia (no green cones)#5760790.179
Tritanopia (no blue cones)#AA214C0.083
Achromatopsia (no color)#5959590.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #A01F7C

    #A01F7C

    oklch(48.8% 0.187 342.3)

  • #00724D

    #00724D

    oklch(48.8% 0.107 162.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A01F7C

    #A01F7C

    oklch(48.8% 0.187 342.3)

  • #8233A9

    #8233A9

    oklch(48.7% 0.186 312.2)

  • #B01142

    #B01142

    oklch(48.9% 0.187 12.4)

Open the analogous palette in the generator

Split complementary

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

  • #A01F7C

    #A01F7C

    oklch(48.8% 0.187 342.3)

  • #406F00

    #406F00

    oklch(48.9% 0.137 132.5)

  • #006E6C

    #006E6C

    oklch(48.7% 0.083 192.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A01F7C

    #A01F7C

    oklch(48.8% 0.187 342.3)

  • #6B6100

    #6B6100

    oklch(48.7% 0.102 102.4)

  • #006A84

    #006A84

    oklch(48.6% 0.09 222.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A01F7C

    #A01F7C

    oklch(48.8% 0.187 342.3)

  • #835400

    #835400

    oklch(48.7% 0.104 72.1)

  • #00724D

    #00724D

    oklch(48.8% 0.107 162.2)

  • #0060AF

    #0060AF

    oklch(48.7% 0.147 252.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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