#812D99

Closest named color: Warm Purple (#952E8F). oklch(46.8% 0.177 317.8), rgb(129, 45, 153).

Aa

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

About this color

#812D99 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.177 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.046 away. White text reads best on it, at 7.58:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.177)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.76:1
White text7.58:1

Values

HEX#812D99
RGBrgb(129, 45, 153)
HSLhsl(287, 55%, 39%)
OKLCHoklch(46.8% 0.177 317.8)

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 #812D99 7.58:1 AAA Lc -90.4 Preferred for body text
Black text on #812D99 2.76:1 Fails Lc 18.5 Dividers and decoration only
#812D99 text on white 7.58:1 AAA Lc 85.5 Fine for body text
#812D99 text on black 2.76:1 Fails Lc -16.5 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

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300

    #D8B0E5

    oklch(81% 0.085 317.8)

  5. Step 400

    400

    #C484D8

    oklch(70.8% 0.137 317.9)

  6. Step 500

    500

    #B461CD

    oklch(63.1% 0.176 317.9)

  7. Step 600

    600

    #9F44BA

    oklch(55.6% 0.191 317.7)

  8. Step 700

    700 (this color)

    #812D99

    oklch(46.8% 0.177 317.8)

  9. Step 800

    800

    #6F2D82

    oklch(42.8% 0.147 318)

  10. Step 900

    900

    #5A2A68

    oklch(37.8% 0.113 318.1)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#812D99 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)#004F9C0.173
Deuteranopia (no green cones)#3157960.151
Tritanopia (no blue cones)#8042600.112
Achromatopsia (no color)#5454540.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #812D99

    #812D99

    oklch(46.8% 0.177 317.8)

  • #2A6C00

    #2A6C00

    oklch(47% 0.145 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812D99

    #812D99

    oklch(46.8% 0.177 317.8)

  • #5A40B6

    #5A40B6

    oklch(46.9% 0.177 287.7)

  • #9B1B6C

    #9B1B6C

    oklch(46.9% 0.178 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #812D99

    #812D99

    oklch(46.8% 0.177 317.8)

  • #605E00

    #605E00

    oklch(46.8% 0.101 108.3)

  • #006B50

    #006B50

    oklch(46.9% 0.095 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812D99

    #812D99

    oklch(46.8% 0.177 317.8)

  • #785200

    #785200

    oklch(46.8% 0.098 77.8)

  • #00686A

    #00686A

    oklch(46.9% 0.08 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812D99

    #812D99

    oklch(46.8% 0.177 317.8)

  • #913E00

    #913E00

    oklch(46.8% 0.128 47.7)

  • #2A6C00

    #2A6C00

    oklch(47% 0.145 137.8)

  • #006482

    #006482

    oklch(46.9% 0.091 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #812D99 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.