#7876DD

Closest named color: Medium Purple (#9370DB). oklch(61.6% 0.152 281.8), rgb(120, 118, 221).

Aa

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

About this color

#7876DD is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.152 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.042 away. Black text reads best on it, at 5.43:1.

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

Values

HEX#7876DD
RGBrgb(120, 118, 221)
HSLhsl(241, 60%, 66%)
OKLCHoklch(61.6% 0.152 281.8)

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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F8

    oklch(93.5% 0.022 283.1)

  3. Step 200

    200

    #D4D6F5

    oklch(88.4% 0.043 282.6)

  4. Step 300

    300

    #B8BBF0

    oklch(80.8% 0.075 282.1)

  5. Step 400

    400

    #9597E9

    oklch(70.8% 0.119 281.8)

  6. Step 500

    500 (this color)

    #7876DD

    oklch(61.6% 0.152 281.8)

  7. Step 600

    600

    #6761D0

    oklch(55.6% 0.166 282)

  8. Step 700

    700

    #5650B4

    oklch(49.2% 0.154 281.8)

  9. Step 800

    800

    #464292

    oklch(42.7% 0.128 281.8)

  10. Step 900

    900

    #3A3974

    oklch(37.7% 0.098 281.4)

  11. Step 950

    950

    #222244

    oklch(27.1% 0.062 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#7876DD 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)#4B85E10.060
Deuteranopia (no green cones)#457EDB0.061
Tritanopia (no blue cones)#568C9F0.132
Achromatopsia (no color)#8282820.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7876DD

    #7876DD

    oklch(61.6% 0.152 281.8)

  • #958700

    #958700

    oklch(61.7% 0.129 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7876DD

    #7876DD

    oklch(61.6% 0.152 281.8)

  • #3287DD

    #3287DD

    oklch(61.5% 0.153 252)

  • #A366C6

    #A366C6

    oklch(61.5% 0.152 312)

Open the analogous palette in the generator

Split complementary

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

  • #7876DD

    #7876DD

    oklch(61.6% 0.152 281.8)

  • #B57500

    #B57500

    oklch(61.5% 0.132 71.6)

  • #619725

    #619725

    oklch(61.6% 0.153 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7876DD

    #7876DD

    oklch(61.6% 0.152 281.8)

  • #CE6031

    #CE6031

    oklch(61.6% 0.152 42.1)

  • #009D6B

    #009D6B

    oklch(61.5% 0.135 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7876DD

    #7876DD

    oklch(61.6% 0.152 281.8)

  • #CF576D

    #CF576D

    oklch(61.5% 0.153 11.5)

  • #958700

    #958700

    oklch(61.7% 0.129 102.1)

  • #009995

    #009995

    oklch(61.7% 0.106 191.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7876DD 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.