#822F72

Closest named color: Light Eggplant (#894585). oklch(44.9% 0.14 336), rgb(130, 47, 114).

Aa

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

About this color

#822F72 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.140 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.054 away. White text reads best on it, at 8.08:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.140)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.59:1
White text8.08:1

Values

HEX#822F72
RGBrgb(130, 47, 114)
HSLhsl(312, 47%, 35%)
OKLCHoklch(44.9% 0.14 336)

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 #822F72 8.08:1 AAA Lc -92.0 Preferred for body text
Black text on #822F72 2.59:1 Fails Lc 16.7 Dividers and decoration only
#822F72 text on white 8.08:1 AAA Lc 87.3 Fine for body text
#822F72 text on black 2.59:1 Fails Lc -14.8 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

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EDCEE5

    oklch(88.4% 0.046 335.1)

  4. Step 300

    300

    #E3ADD5

    oklch(80.9% 0.082 335.9)

  5. Step 400

    400

    #D37FC0

    oklch(70.7% 0.132 335.7)

  6. Step 500

    500

    #C55CAF

    oklch(63.1% 0.166 336.1)

  7. Step 600

    600

    #B03E9B

    oklch(55.6% 0.182 335.8)

  8. Step 700

    700

    #972F84

    oklch(49.1% 0.169 336)

  9. Step 800

    800 (this color)

    #822F72

    oklch(44.9% 0.14 336)

  10. Step 900

    900

    #632657

    oklch(37.6% 0.109 335.9)

  11. Step 950

    950

    #3B1733

    oklch(27% 0.07 336.6)

Export this scale for Tailwind in the Tailwind colors tool

#822F72 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)#3048740.149
Deuteranopia (no green cones)#4A54700.129
Tritanopia (no blue cones)#88344C0.069
Achromatopsia (no color)#5050500.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #822F72

    #822F72

    oklch(44.9% 0.14 336)

  • #00663A

    #00663A

    oklch(44.9% 0.109 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #822F72

    #822F72

    oklch(44.9% 0.14 336)

  • #693B91

    #693B91

    oklch(45% 0.14 306.3)

  • #902949

    #902949

    oklch(44.9% 0.139 6)

Open the analogous palette in the generator

Split complementary

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

  • #822F72

    #822F72

    oklch(44.9% 0.14 336)

  • #455F00

    #455F00

    oklch(44.8% 0.114 125.9)

  • #00635B

    #00635B

    oklch(44.9% 0.079 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #822F72

    #822F72

    oklch(44.9% 0.14 336)

  • #645400

    #645400

    oklch(44.8% 0.092 96.3)

  • #006071

    #006071

    oklch(45% 0.08 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #822F72

    #822F72

    oklch(44.9% 0.14 336)

  • #7A4800

    #7A4800

    oklch(45% 0.1 66.1)

  • #00663A

    #00663A

    oklch(44.9% 0.109 155.9)

  • #005990

    #005990

    oklch(44.9% 0.115 245.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #822F72 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.