#822997

Closest named color: Dark Magenta (#8B008B). oklch(46.4% 0.181 319.2), rgb(130, 41, 151).

Aa

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

About this color

#822997 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.181 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.043 away. White text reads best on it, at 7.73:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.181)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.71:1
White text7.73:1

Values

HEX#822997
RGBrgb(130, 41, 151)
HSLhsl(289, 57%, 38%)
OKLCHoklch(46.4% 0.181 319.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 #822997 7.73:1 AAA Lc -90.8 Preferred for body text
Black text on #822997 2.71:1 Fails Lc 18.1 Dividers and decoration only
#822997 text on white 7.73:1 AAA Lc 85.9 Fine for body text
#822997 text on black 2.71:1 Fails Lc -16.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 700.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEE

    oklch(88.5% 0.05 319.7)

  4. Step 300

    300

    #DAAFE5

    oklch(81% 0.088 319.3)

  5. Step 400

    400

    #C682D7

    oklch(70.7% 0.14 319.4)

  6. Step 500

    500

    #B65FCC

    oklch(63% 0.179 319.2)

  7. Step 600

    600

    #A242B9

    oklch(55.7% 0.194 319.4)

  8. Step 700

    700 (this color)

    #822997

    oklch(46.4% 0.181 319.2)

  9. Step 800

    800

    #702B81

    oklch(42.6% 0.149 319.1)

  10. Step 900

    900

    #5B2868

    oklch(37.6% 0.117 319.1)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#822997 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)#004D9A0.178
Deuteranopia (no green cones)#3156940.156
Tritanopia (no blue cones)#823E5D0.112
Achromatopsia (no color)#5353530.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #822997

    #822997

    oklch(46.4% 0.181 319.2)

  • #226B00

    #226B00

    oklch(46.4% 0.147 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #822997

    #822997

    oklch(46.4% 0.181 319.2)

  • #5B3CB5

    #5B3CB5

    oklch(46.3% 0.181 289.1)

  • #9B1568

    #9B1568

    oklch(46.4% 0.18 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #822997

    #822997

    oklch(46.4% 0.181 319.2)

  • #5E5D00

    #5E5D00

    oklch(46.4% 0.101 109)

  • #006950

    #006950

    oklch(46.3% 0.092 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #822997

    #822997

    oklch(46.4% 0.181 319.2)

  • #765200

    #765200

    oklch(46.6% 0.097 79.3)

  • #00666A

    #00666A

    oklch(46.4% 0.079 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #822997

    #822997

    oklch(46.4% 0.181 319.2)

  • #8E3F00

    #8E3F00

    oklch(46.5% 0.124 49.3)

  • #226B00

    #226B00

    oklch(46.4% 0.147 139.2)

  • #006282

    #006282

    oklch(46.4% 0.092 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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