#821E7C

Closest named color: Purple (#800080). oklch(43.7% 0.171 330.7), rgb(130, 30, 124).

Aa

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

About this color

#821E7C is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.171 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.029 away. White text reads best on it, at 8.65:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.171)
Temperaturein between
Nearest namePurple (#800080)
Black text2.42:1
White text8.65:1

Values

HEX#821E7C
RGBrgb(130, 30, 124)
HSLhsl(304, 62%, 31%)
OKLCHoklch(43.7% 0.171 330.7)

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 #821E7C 8.65:1 AAA Lc -93.1 Preferred for body text
Black text on #821E7C 2.42:1 Fails Lc 15.5 Dividers and decoration only
#821E7C text on white 8.65:1 AAA Lc 88.5 Fine for body text
#821E7C text on black 2.42:1 Fails Lc -13.6 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #EFCCEA

    oklch(88.4% 0.056 330.8)

  4. Step 300

    300

    #E6A9DF

    oklch(80.9% 0.1 330.4)

  5. Step 400

    400

    #D778CE

    oklch(70.6% 0.159 330.7)

  6. Step 500

    500

    #CA4FC1

    oklch(63% 0.204 330.7)

  7. Step 600

    600

    #B62AAE

    oklch(55.7% 0.222 330.7)

  8. Step 700

    700

    #9C1995

    oklch(49.1% 0.206 330.7)

  9. Step 800

    800 (this color)

    #821E7C

    oklch(43.7% 0.171 330.7)

  10. Step 900

    900

    #661E61

    oklch(37.6% 0.133 330.8)

  11. Step 950

    950

    #3C1339

    oklch(26.9% 0.085 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#821E7C 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)#13437F0.185
Deuteranopia (no green cones)#3D507A0.156
Tritanopia (no blue cones)#872B4B0.092
Achromatopsia (no color)#4B4B4B0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #821E7C

    #821E7C

    oklch(43.7% 0.171 330.7)

  • #00632C

    #00632C

    oklch(43.7% 0.119 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #821E7C

    #821E7C

    oklch(43.7% 0.171 330.7)

  • #63309F

    #63309F

    oklch(43.7% 0.171 300.5)

  • #950B4D

    #950B4D

    oklch(43.8% 0.171 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #821E7C

    #821E7C

    oklch(43.7% 0.171 330.7)

  • #4A5A00

    #4A5A00

    oklch(43.8% 0.105 120.9)

  • #006054

    #006054

    oklch(43.8% 0.079 180.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #821E7C

    #821E7C

    oklch(43.7% 0.171 330.7)

  • #644F00

    #644F00

    oklch(43.7% 0.089 91.1)

  • #005D69

    #005D69

    oklch(43.8% 0.076 210)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #821E7C

    #821E7C

    oklch(43.7% 0.171 330.7)

  • #794200

    #794200

    oklch(43.7% 0.102 60.8)

  • #00632C

    #00632C

    oklch(43.7% 0.119 150.6)

  • #005784

    #005784

    oklch(43.7% 0.102 241.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #821E7C 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.