#813ECE

Closest named color: Blue Violet (#8A2BE2). oklch(52.6% 0.21 300.5), rgb(129, 62, 206).

Aa

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

About this color

#813ECE is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.210 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.041 away. White text reads best on it, at 5.97:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.210)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.51:1
White text5.97:1

Values

HEX#813ECE
RGBrgb(129, 62, 206)
HSLhsl(268, 60%, 53%)
OKLCHoklch(52.6% 0.21 300.5)

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 #813ECE 5.97:1 AA Lc -84.4 Fine for body text
Black text on #813ECE 3.51:1 AA large text Lc 24.9 Dividers and decoration only
#813ECE text on white 5.97:1 AA Lc 79.1 Fine for body text
#813ECE text on black 3.51:1 AA large text Lc -22.7 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 600.

  1. Step 50

    50

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DED2F7

    oklch(88.5% 0.052 300.1)

  4. Step 300

    300

    #CAB3F5

    oklch(80.9% 0.095 300.3)

  5. Step 400

    400

    #B088F0

    oklch(70.7% 0.152 300.3)

  6. Step 500

    500

    #9E66EA

    oklch(63.1% 0.193 300.5)

  7. Step 600

    600 (this color)

    #813ECE

    oklch(52.6% 0.21 300.5)

  8. Step 700

    700

    #7538BC

    oklch(49.1% 0.196 300.4)

  9. Step 800

    800

    #5F3098

    oklch(42.7% 0.162 300.3)

  10. Step 900

    900

    #4E2C79

    oklch(37.7% 0.127 300.8)

  11. Step 950

    950

    #2D1B47

    oklch(27% 0.08 300)

Export this scale for Tailwind in the Tailwind colors tool

#813ECE 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)#0063D20.148
Deuteranopia (no green cones)#0062CB0.149
Tritanopia (no blue cones)#7061820.156
Achromatopsia (no color)#6363630.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #813ECE

    #813ECE

    oklch(52.6% 0.21 300.5)

  • #617400

    #617400

    oklch(52.5% 0.125 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #813ECE

    #813ECE

    oklch(52.6% 0.21 300.5)

  • #4157E1

    #4157E1

    oklch(52.6% 0.21 270.4)

  • #A826A1

    #A826A1

    oklch(52.5% 0.21 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #813ECE

    #813ECE

    oklch(52.6% 0.21 300.5)

  • #826700

    #826700

    oklch(52.6% 0.107 90.6)

  • #00803B

    #00803B

    oklch(52.5% 0.142 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #813ECE

    #813ECE

    oklch(52.6% 0.21 300.5)

  • #9C5600

    #9C5600

    oklch(52.5% 0.123 60.3)

  • #007C6D

    #007C6D

    oklch(52.5% 0.095 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #813ECE

    #813ECE

    oklch(52.6% 0.21 300.5)

  • #C61500

    #C61500

    oklch(52.5% 0.207 30.6)

  • #617400

    #617400

    oklch(52.5% 0.125 120.4)

  • #007888

    #007888

    oklch(52.5% 0.091 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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