#976ECD

Closest named color: Medium Purple (#9370DB). oklch(61.9% 0.144 302.3), rgb(151, 110, 205).

Aa

Black text reads best on this color (5.42:1).

About this color

#976ECD is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.144 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.022 away. Black text reads best on it, at 5.42:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.144)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.42:1
White text3.86:1

Values

HEX#976ECD
RGBrgb(151, 110, 205)
HSLhsl(266, 49%, 62%)
OKLCHoklch(61.9% 0.144 302.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 #976ECD 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #976ECD 5.42:1 AA Lc 38.1 Non-text elements, placeholder text
#976ECD text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#976ECD text on black 5.42:1 AA Lc -35.7 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #C9B6E7

    oklch(80.8% 0.071 302.5)

  5. Step 400

    400

    #AE8FDB

    oklch(70.7% 0.113 302.4)

  6. Step 500

    500 (this color)

    #976ECD

    oklch(61.9% 0.144 302.3)

  7. Step 600

    600

    #8658BE

    oklch(55.7% 0.156 302.4)

  8. Step 700

    700

    #7147A4

    oklch(49% 0.146 302.1)

  9. Step 800

    800

    #5C3B85

    oklch(42.7% 0.121 302.1)

  10. Step 900

    900

    #4B336A

    oklch(37.6% 0.094 302.2)

  11. Step 950

    950

    #2C1E3E

    oklch(26.9% 0.06 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#976ECD 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)#5381D00.099
Deuteranopia (no green cones)#5D81CB0.091
Tritanopia (no blue cones)#8D7F940.110
Achromatopsia (no color)#8282820.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #976ECD

    #976ECD

    oklch(61.9% 0.144 302.3)

  • #779316

    #779316

    oklch(62% 0.144 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #976ECD

    #976ECD

    oklch(61.9% 0.144 302.3)

  • #697EDC

    #697EDC

    oklch(62% 0.144 272.1)

  • #B762AC

    #B762AC

    oklch(62% 0.144 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #976ECD

    #976ECD

    oklch(61.9% 0.144 302.3)

  • #A18300

    #A18300

    oklch(62% 0.127 92.6)

  • #2C9E59

    #2C9E59

    oklch(62% 0.144 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #976ECD

    #976ECD

    oklch(61.9% 0.144 302.3)

  • #C16F00

    #C16F00

    oklch(62% 0.142 62.3)

  • #009B8B

    #009B8B

    oklch(61.9% 0.111 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #976ECD

    #976ECD

    oklch(61.9% 0.144 302.3)

  • #CE604B

    #CE604B

    oklch(62% 0.144 32.4)

  • #779316

    #779316

    oklch(62% 0.144 122.5)

  • #0096AC

    #0096AC

    oklch(61.8% 0.108 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #976ECD 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.