#712171

Closest named color: Purple (#800080). oklch(40.6% 0.149 327.9), rgb(113, 33, 113).

Aa

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

About this color

#712171 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.149 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.047 away. White text reads best on it, at 9.73:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.149)
Temperaturein between
Nearest namePurple (#800080)
Black text2.15:1
White text9.73:1

Values

HEX#712171
RGBrgb(113, 33, 113)
HSLhsl(300, 55%, 29%)
OKLCHoklch(40.6% 0.149 327.9)

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 #712171 9.73:1 AAA Lc -96.0 Preferred for body text
Black text on #712171 2.15:1 Fails Lc 12.3 Not readable
#712171 text on white 9.73:1 AAA Lc 91.7 Preferred for body text
#712171 text on black 2.15:1 Fails Lc -10.7 Not readable

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 800.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #EBCEEA

    oklch(88.4% 0.049 327)

  4. Step 300

    300

    #E0ADDD

    oklch(80.9% 0.087 328.3)

  5. Step 400

    400

    #CF7FCC

    oklch(70.7% 0.14 328.3)

  6. Step 500

    500

    #C05BBF

    oklch(63% 0.178 327.8)

  7. Step 600

    600

    #AB3DAB

    oklch(55.6% 0.193 327.8)

  8. Step 700

    700

    #932E93

    oklch(49.2% 0.179 327.9)

  9. Step 800

    800 (this color)

    #712171

    oklch(40.6% 0.149 327.9)

  10. Step 900

    900

    #612660

    oklch(37.8% 0.116 328.2)

  11. Step 950

    950

    #391738

    oklch(27% 0.074 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#712171 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)#153D730.156
Deuteranopia (no green cones)#35486F0.134
Tritanopia (no blue cones)#752C460.083
Achromatopsia (no color)#4444440.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #712171

    #712171

    oklch(40.6% 0.149 327.9)

  • #005A1F

    #005A1F

    oklch(40.8% 0.119 147.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #712171

    #712171

    oklch(40.6% 0.149 327.9)

  • #552F8D

    #552F8D

    oklch(40.6% 0.148 298)

  • #821549

    #821549

    oklch(40.6% 0.148 357.9)

Open the analogous palette in the generator

Split complementary

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

  • #712171

    #712171

    oklch(40.6% 0.149 327.9)

  • #455000

    #455000

    oklch(40.7% 0.095 118.4)

  • #005649

    #005649

    oklch(40.5% 0.075 177.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #712171

    #712171

    oklch(40.6% 0.149 327.9)

  • #5C4600

    #5C4600

    oklch(40.6% 0.083 88.1)

  • #00545D

    #00545D

    oklch(40.8% 0.07 207.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #712171

    #712171

    oklch(40.6% 0.149 327.9)

  • #6F3900

    #6F3900

    oklch(40.6% 0.097 57.7)

  • #005A1F

    #005A1F

    oklch(40.8% 0.119 147.7)

  • #004F74

    #004F74

    oklch(40.6% 0.09 238.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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