#831E89

Closest named color: Dark Magenta (#8B008B). oklch(44.7% 0.181 325.6), rgb(131, 30, 137).

Aa

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

About this color

#831E89 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.181 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.026 away. White text reads best on it, at 8.35:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.181)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.51:1
White text8.35:1

Values

HEX#831E89
RGBrgb(131, 30, 137)
HSLhsl(297, 64%, 33%)
OKLCHoklch(44.7% 0.181 325.6)

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 #831E89 8.35:1 AAA Lc -92.3 Preferred for body text
Black text on #831E89 2.51:1 Fails Lc 16.4 Dividers and decoration only
#831E89 text on white 8.35:1 AAA Lc 87.6 Fine for body text
#831E89 text on black 2.51:1 Fails Lc -14.5 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EECCEF

    oklch(88.4% 0.06 325.2)

  4. Step 300

    300

    #E4A9E6

    oklch(80.9% 0.106 325.4)

  5. Step 400

    400

    #D577D9

    oklch(70.7% 0.17 325.7)

  6. Step 500

    500

    #C84CCF

    oklch(63.1% 0.218 325.6)

  7. Step 600

    600

    #B324BB

    oklch(55.6% 0.236 325.7)

  8. Step 700

    700

    #9A11A1

    oklch(49.1% 0.219 325.9)

  9. Step 800

    800 (this color)

    #831E89

    oklch(44.7% 0.181 325.6)

  10. Step 900

    900

    #651C69

    oklch(37.7% 0.142 325.7)

  11. Step 950

    950

    #3B123E

    oklch(26.9% 0.091 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#831E89 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)#00468C0.191
Deuteranopia (no green cones)#3652860.163
Tritanopia (no blue cones)#8631530.103
Achromatopsia (no color)#4E4E4E0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #831E89

    #831E89

    oklch(44.7% 0.181 325.6)

  • #00671B

    #00671B

    oklch(44.7% 0.138 145.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831E89

    #831E89

    oklch(44.7% 0.181 325.6)

  • #6032AB

    #6032AB

    oklch(44.6% 0.182 295.5)

  • #990358

    #990358

    oklch(44.7% 0.181 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #831E89

    #831E89

    oklch(44.7% 0.181 325.6)

  • #525A00

    #525A00

    oklch(44.5% 0.101 115.6)

  • #006352

    #006352

    oklch(44.6% 0.084 175.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831E89

    #831E89

    oklch(44.7% 0.181 325.6)

  • #6B5000

    #6B5000

    oklch(44.7% 0.092 86.1)

  • #006069

    #006069

    oklch(44.7% 0.076 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831E89

    #831E89

    oklch(44.7% 0.181 325.6)

  • #814100

    #814100

    oklch(44.8% 0.11 55.8)

  • #00671B

    #00671B

    oklch(44.7% 0.138 145.5)

  • #005B82

    #005B82

    oklch(44.6% 0.096 236.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #831E89 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.