#976ECE

Closest named color: Medium Purple (#9370DB). oklch(62% 0.145 302.1), rgb(151, 110, 206).

Aa

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

About this color

#976ECE is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.145 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.020 away. Black text reads best on it, at 5.43:1.

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

Values

HEX#976ECE
RGBrgb(151, 110, 206)
HSLhsl(266, 49%, 62%)
OKLCHoklch(62% 0.145 302.1)

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 #976ECE 3.86:1 AA large text Lc -71.4 Content text, not long reading
Black text on #976ECE 5.43:1 AA Lc 38.2 Non-text elements, placeholder text
#976ECE text on white 3.86:1 AA large text Lc 65.9 Content text, not long reading
#976ECE text on black 5.43:1 AA Lc -35.8 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

    #AE8FDC

    oklch(70.7% 0.114 302.1)

  6. Step 500

    500 (this color)

    #976ECE

    oklch(62% 0.145 302.1)

  7. Step 600

    600

    #8558BF

    oklch(55.6% 0.157 301.7)

  8. Step 700

    700

    #7147A5

    oklch(49.1% 0.147 301.8)

  9. Step 800

    800

    #5C3B85

    oklch(42.7% 0.121 302.1)

  10. Step 900

    900

    #4B336B

    oklch(37.6% 0.095 301.8)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#976ECE 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)#5281D10.100
Deuteranopia (no green cones)#5C81CC0.092
Tritanopia (no blue cones)#8D7F940.111
Achromatopsia (no color)#8282820.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #976ECE

    #976ECE

    oklch(62% 0.145 302.1)

  • #789312

    #789312

    oklch(62% 0.145 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #976ECE

    #976ECE

    oklch(62% 0.145 302.1)

  • #687EDD

    #687EDD

    oklch(62% 0.145 271.8)

  • #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°).

  • #976ECE

    #976ECE

    oklch(62% 0.145 302.1)

  • #A28300

    #A28300

    oklch(62.1% 0.127 92.1)

  • #2B9E58

    #2B9E58

    oklch(61.9% 0.145 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #976ECE

    #976ECE

    oklch(62% 0.145 302.1)

  • #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.

  • #976ECE

    #976ECE

    oklch(62% 0.145 302.1)

  • #CF604B

    #CF604B

    oklch(62.1% 0.145 32.3)

  • #789312

    #789312

    oklch(62% 0.145 122)

  • #0097AC

    #0097AC

    oklch(62.1% 0.108 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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