#822F79

Closest named color: Warm Purple (#952E8F). oklch(45.3% 0.146 332.2), rgb(130, 47, 121).

Aa

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

About this color

#822F79 is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.146 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.051 away. White text reads best on it, at 7.97:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.146)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.63:1
White text7.97:1

Values

HEX#822F79
RGBrgb(130, 47, 121)
HSLhsl(307, 47%, 35%)
OKLCHoklch(45.3% 0.146 332.2)

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 #822F79 7.97:1 AAA Lc -91.7 Preferred for body text
Black text on #822F79 2.63:1 Fails Lc 17.1 Dividers and decoration only
#822F79 text on white 7.97:1 AAA Lc 87.0 Fine for body text
#822F79 text on black 2.63:1 Fails Lc -15.1 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 800.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE7

    oklch(88.5% 0.048 332.5)

  4. Step 300

    300

    #E2ADD9

    oklch(81% 0.084 332.3)

  5. Step 400

    400

    #D27FC6

    oklch(70.8% 0.136 332.3)

  6. Step 500

    500

    #C45BB7

    oklch(63.2% 0.174 332.4)

  7. Step 600

    600

    #AF3CA3

    oklch(55.6% 0.19 332.2)

  8. Step 700

    700

    #962D8C

    oklch(49.1% 0.177 332)

  9. Step 800

    800 (this color)

    #822F79

    oklch(45.3% 0.146 332.2)

  10. Step 900

    900

    #63265C

    oklch(37.8% 0.114 332.2)

  11. Step 950

    950

    #3A1736

    oklch(27% 0.072 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#822F79 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)#2C497B0.152
Deuteranopia (no green cones)#4755770.133
Tritanopia (no blue cones)#87364F0.077
Achromatopsia (no color)#5151510.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #822F79

    #822F79

    oklch(45.3% 0.146 332.2)

  • #006833

    #006833

    oklch(45.3% 0.119 152.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #822F79

    #822F79

    oklch(45.3% 0.146 332.2)

  • #663C98

    #663C98

    oklch(45.3% 0.146 301.9)

  • #92274F

    #92274F

    oklch(45.2% 0.145 2.3)

Open the analogous palette in the generator

Split complementary

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

  • #822F79

    #822F79

    oklch(45.3% 0.146 332.2)

  • #4C5F00

    #4C5F00

    oklch(45.3% 0.11 122.2)

  • #00645A

    #00645A

    oklch(45.2% 0.08 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #822F79

    #822F79

    oklch(45.3% 0.146 332.2)

  • #685400

    #685400

    oklch(45.3% 0.093 92.9)

  • #006170

    #006170

    oklch(45.2% 0.079 212.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #822F79

    #822F79

    oklch(45.3% 0.146 332.2)

  • #7E4600

    #7E4600

    oklch(45.2% 0.104 61.8)

  • #006833

    #006833

    oklch(45.3% 0.119 152.2)

  • #005B8C

    #005B8C

    oklch(45.2% 0.108 242.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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