#822898

Closest named color: Dark Magenta (#8B008B). oklch(46.4% 0.183 318.9), rgb(130, 40, 152).

Aa

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

About this color

#822898 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.183 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.76:1.

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

Values

HEX#822898
RGBrgb(130, 40, 152)
HSLhsl(288, 58%, 38%)
OKLCHoklch(46.4% 0.183 318.9)

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 #822898 7.76:1 AAA Lc -90.8 Preferred for body text
Black text on #822898 2.70:1 Fails Lc 18.1 Dividers and decoration only
#822898 text on white 7.76:1 AAA Lc 86.0 Fine for body text
#822898 text on black 2.70: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

    #C682D8

    oklch(70.7% 0.141 319)

  6. Step 500

    500

    #B75FCE

    oklch(63.2% 0.181 319)

  7. Step 600

    600

    #A241BA

    oklch(55.6% 0.196 319.1)

  8. Step 700

    700 (this color)

    #822898

    oklch(46.4% 0.183 318.9)

  9. Step 800

    800

    #702A82

    oklch(42.6% 0.152 318.8)

  10. Step 900

    900

    #5B2868

    oklch(37.6% 0.117 319.1)

  11. Step 950

    950

    #36183D

    oklch(27% 0.075 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#822898 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)#004D9B0.179
Deuteranopia (no green cones)#2F55950.158
Tritanopia (no blue cones)#823E5E0.113
Achromatopsia (no color)#5252520.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #822898

    #822898

    oklch(46.4% 0.183 318.9)

  • #246B00

    #246B00

    oklch(46.5% 0.146 138.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #822898

    #822898

    oklch(46.4% 0.183 318.9)

  • #5B3CB6

    #5B3CB6

    oklch(46.4% 0.182 288.9)

  • #9C1369

    #9C1369

    oklch(46.5% 0.183 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #822898

    #822898

    oklch(46.4% 0.183 318.9)

  • #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.

  • #822898

    #822898

    oklch(46.4% 0.183 318.9)

  • #765100

    #765100

    oklch(46.3% 0.097 78.3)

  • #00666A

    #00666A

    oklch(46.4% 0.079 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #822898

    #822898

    oklch(46.4% 0.183 318.9)

  • #8E3E00

    #8E3E00

    oklch(46.3% 0.125 48.6)

  • #246B00

    #246B00

    oklch(46.5% 0.146 138.9)

  • #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 #822898, closest first.

Similar named colors

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

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