#813DCB

Closest named color: Blue Violet (#8A2BE2). oklch(52.2% 0.208 301.3), rgb(129, 61, 203).

Aa

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

About this color

#813DCB is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.208 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.044 away. White text reads best on it, at 6.06:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.208)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.46:1
White text6.06:1

Values

HEX#813DCB
RGBrgb(129, 61, 203)
HSLhsl(269, 58%, 52%)
OKLCHoklch(52.2% 0.208 301.3)

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 #813DCB 6.06:1 AA Lc -84.7 Fine for body text
Black text on #813DCB 3.46:1 AA large text Lc 24.5 Dividers and decoration only
#813DCB text on white 6.06:1 AA Lc 79.5 Fine for body text
#813DCB text on black 3.46:1 AA large text Lc -22.3 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CCB2F8

    oklch(81% 0.101 301.2)

  5. Step 400

    400

    #B386F4

    oklch(70.8% 0.161 301.3)

  6. Step 500

    500

    #A162EF

    oklch(63.1% 0.205 301.3)

  7. Step 600

    600

    #8D42DE

    oklch(55.6% 0.224 301.3)

  8. Step 700

    700 (this color)

    #813DCB

    oklch(52.2% 0.208 301.3)

  9. Step 800

    800

    #612B9C

    oklch(42.6% 0.173 301.1)

  10. Step 900

    900

    #4F297C

    oklch(37.6% 0.135 301.2)

  11. Step 950

    950

    #2E1948

    oklch(26.9% 0.085 301.5)

Export this scale for Tailwind in the Tailwind colors tool

#813DCB 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)#0062CF0.149
Deuteranopia (no green cones)#0062C80.150
Tritanopia (no blue cones)#715F800.154
Achromatopsia (no color)#6262620.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #813DCB

    #813DCB

    oklch(52.2% 0.208 301.3)

  • #5F7400

    #5F7400

    oklch(52.3% 0.126 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #813DCB

    #813DCB

    oklch(52.2% 0.208 301.3)

  • #4355DF

    #4355DF

    oklch(52.2% 0.209 271.3)

  • #A8259E

    #A8259E

    oklch(52.3% 0.208 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #813DCB

    #813DCB

    oklch(52.2% 0.208 301.3)

  • #806600

    #806600

    oklch(52.1% 0.107 91.2)

  • #007F3D

    #007F3D

    oklch(52.2% 0.139 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #813DCB

    #813DCB

    oklch(52.2% 0.208 301.3)

  • #9A5600

    #9A5600

    oklch(52.2% 0.121 61.2)

  • #007B6D

    #007B6D

    oklch(52.3% 0.094 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #813DCB

    #813DCB

    oklch(52.2% 0.208 301.3)

  • #C31C00

    #C31C00

    oklch(52.3% 0.202 31.4)

  • #5F7400

    #5F7400

    oklch(52.3% 0.126 121.3)

  • #007787

    #007787

    oklch(52.2% 0.091 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #813DCB 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.