#872972

Closest named color: Warm Purple (#952E8F). oklch(45% 0.153 338), rgb(135, 41, 114).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.59:1
White text8.10:1

Values

HEX#872972
RGBrgb(135, 41, 114)
HSLhsl(313, 53%, 35%)
OKLCHoklch(45% 0.153 338)

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 #872972 8.10:1 AAA Lc -91.9 Preferred for body text
Black text on #872972 2.59:1 Fails Lc 16.8 Dividers and decoration only
#872972 text on white 8.10:1 AAA Lc 87.2 Fine for body text
#872972 text on black 2.59:1 Fails Lc -14.9 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE5

    oklch(88.5% 0.05 337.5)

  4. Step 300

    300

    #E7ABD5

    oklch(81% 0.089 337.8)

  5. Step 400

    400

    #D97BBF

    oklch(70.7% 0.143 338.3)

  6. Step 500

    500

    #CC55AF

    oklch(63.1% 0.182 338.1)

  7. Step 600

    600

    #B7349B

    oklch(55.6% 0.199 337.9)

  8. Step 700

    700

    #9D2584

    oklch(49.1% 0.184 338)

  9. Step 800

    800 (this color)

    #872972

    oklch(45% 0.153 338)

  10. Step 900

    900

    #672257

    oklch(37.7% 0.119 338)

  11. Step 950

    950

    #3D1533

    oklch(27% 0.076 338.3)

Export this scale for Tailwind in the Tailwind colors tool

#872972 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)#2D46740.164
Deuteranopia (no green cones)#4B55700.143
Tritanopia (no blue cones)#8E2D4A0.072
Achromatopsia (no color)#5050500.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #872972

    #872972

    oklch(45% 0.153 338)

  • #00663E

    #00663E

    oklch(44.9% 0.105 158.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872972

    #872972

    oklch(45% 0.153 338)

  • #6D3695

    #6D3695

    oklch(45% 0.153 308.1)

  • #962145

    #962145

    oklch(45.1% 0.153 8)

Open the analogous palette in the generator

Split complementary

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

  • #872972

    #872972

    oklch(45% 0.153 338)

  • #426100

    #426100

    oklch(45.1% 0.118 128.1)

  • #00635D

    #00635D

    oklch(45% 0.078 187.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872972

    #872972

    oklch(45% 0.153 338)

  • #635500

    #635500

    oklch(45% 0.093 98.1)

  • #006073

    #006073

    oklch(45.1% 0.081 217.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872972

    #872972

    oklch(45% 0.153 338)

  • #794900

    #794900

    oklch(45.1% 0.099 67.8)

  • #00663E

    #00663E

    oklch(44.9% 0.105 158.1)

  • #005894

    #005894

    oklch(44.9% 0.121 248)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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