#872DAA

Closest named color: Purply (#983FB2). oklch(48.8% 0.196 314.6), rgb(135, 45, 170).

Aa

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

About this color

#872DAA is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.196 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.196)
Temperaturein between
Nearest namePurply (#983FB2)
Black text2.98:1
White text7.03:1

Values

HEX#872DAA
RGBrgb(135, 45, 170)
HSLhsl(283, 58%, 42%)
OKLCHoklch(48.8% 0.196 314.6)

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 #872DAA 7.03:1 AAA Lc -88.4 Fine for body text
Black text on #872DAA 2.98:1 Fails Lc 20.6 Dividers and decoration only
#872DAA text on white 7.03:1 AAA Lc 83.4 Fine for body text
#872DAA text on black 2.98:1 Fails Lc -18.5 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6CFF2

    oklch(88.4% 0.053 314.2)

  4. Step 300

    300

    #D8AEEB

    oklch(80.8% 0.095 315.1)

  5. Step 400

    400

    #C381E1

    oklch(70.6% 0.151 314.6)

  6. Step 500

    500

    #B45DD9

    oklch(63.2% 0.194 314.6)

  7. Step 600

    600

    #9F3EC6

    oklch(55.7% 0.21 314.5)

  8. Step 700

    700 (this color)

    #872DAA

    oklch(48.8% 0.196 314.6)

  9. Step 800

    800

    #6E288A

    oklch(42.6% 0.162 314.6)

  10. Step 900

    900

    #5A276F

    oklch(37.8% 0.126 314.7)

  11. Step 950

    950

    #341841

    oklch(27% 0.079 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#872DAA 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)#0054AE0.178
Deuteranopia (no green cones)#275BA70.165
Tritanopia (no blue cones)#8448690.128
Achromatopsia (no color)#5959590.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #872DAA

    #872DAA

    oklch(48.8% 0.196 314.6)

  • #3A7000

    #3A7000

    oklch(48.8% 0.141 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872DAA

    #872DAA

    oklch(48.8% 0.196 314.6)

  • #5A43C7

    #5A43C7

    oklch(48.8% 0.195 284.5)

  • #A41579

    #A41579

    oklch(48.7% 0.195 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #872DAA

    #872DAA

    oklch(48.8% 0.196 314.6)

  • #696200

    #696200

    oklch(48.7% 0.103 104.7)

  • #007251

    #007251

    oklch(48.9% 0.103 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872DAA

    #872DAA

    oklch(48.8% 0.196 314.6)

  • #825600

    #825600

    oklch(48.9% 0.103 74.7)

  • #006E6E

    #006E6E

    oklch(48.7% 0.083 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872DAA

    #872DAA

    oklch(48.8% 0.196 314.6)

  • #9D3E00

    #9D3E00

    oklch(48.7% 0.14 44.6)

  • #3A7000

    #3A7000

    oklch(48.8% 0.141 134.5)

  • #006A87

    #006A87

    oklch(48.8% 0.092 225.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #872DAA 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.