#813998

Closest named color: Warm Purple (#952E8F). oklch(48.2% 0.16 317.2), rgb(129, 57, 152).

Aa

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

About this color

#813998 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.160 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.044 away. White text reads best on it, at 7.06:1.

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

Values

HEX#813998
RGBrgb(129, 57, 152)
HSLhsl(285, 45%, 41%)
OKLCHoklch(48.2% 0.16 317.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 #813998 7.06:1 AAA Lc -88.9 Fine for body text
Black text on #813998 2.97:1 Fails Lc 20.1 Dividers and decoration only
#813998 text on white 7.06:1 AAA Lc 83.9 Fine for body text
#813998 text on black 2.97:1 Fails Lc -18.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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E5D1EC

    oklch(88.5% 0.042 317.4)

  4. Step 300

    300

    #D5B2E2

    oklch(81% 0.076 316.8)

  5. Step 400

    400

    #C087D3

    oklch(70.7% 0.124 317.4)

  6. Step 500

    500

    #AF67C7

    oklch(63.1% 0.157 317.2)

  7. Step 600

    600

    #9A4CB4

    oklch(55.6% 0.171 316.9)

  8. Step 700

    700 (this color)

    #813998

    oklch(48.2% 0.16 317.2)

  9. Step 800

    800

    #6B327E

    oklch(42.7% 0.133 316.9)

  10. Step 900

    900

    #572D65

    oklch(37.7% 0.103 317.1)

  11. Step 950

    950

    #331B3B

    oklch(27% 0.065 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#813998 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)#1D549B0.151
Deuteranopia (no green cones)#3B5B960.132
Tritanopia (no blue cones)#8049630.102
Achromatopsia (no color)#5858580.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #813998

    #813998

    oklch(48.2% 0.16 317.2)

  • #2F7000

    #2F7000

    oklch(48.3% 0.147 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #813998

    #813998

    oklch(48.2% 0.16 317.2)

  • #5C49B2

    #5C49B2

    oklch(48.3% 0.16 287.1)

  • #992C6F

    #992C6F

    oklch(48.1% 0.16 347)

Open the analogous palette in the generator

Split complementary

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

  • #813998

    #813998

    oklch(48.2% 0.16 317.2)

  • #656100

    #656100

    oklch(48.1% 0.103 106.9)

  • #006F52

    #006F52

    oklch(48.1% 0.098 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #813998

    #813998

    oklch(48.2% 0.16 317.2)

  • #7D5500

    #7D5500

    oklch(48.1% 0.101 77.2)

  • #006C6E

    #006C6E

    oklch(48.2% 0.082 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #813998

    #813998

    oklch(48.2% 0.16 317.2)

  • #984000

    #984000

    oklch(48.2% 0.134 46.9)

  • #2F7000

    #2F7000

    oklch(48.3% 0.147 137.2)

  • #006887

    #006887

    oklch(48.3% 0.093 227.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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