#7876DC

Closest named color: Medium Purple (#9370DB). oklch(61.5% 0.151 281.9), rgb(120, 118, 220).

Aa

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

About this color

#7876DC is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.151 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.42:1.

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

Values

HEX#7876DC
RGBrgb(120, 118, 220)
HSLhsl(241, 59%, 66%)
OKLCHoklch(61.5% 0.151 281.9)

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 #7876DC 3.87:1 AA large text Lc -71.5 Content text, not long reading
Black text on #7876DC 5.42:1 AA Lc 38.1 Non-text elements, placeholder text
#7876DC text on white 3.87:1 AA large text Lc 66.0 Content text, not long reading
#7876DC 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F8

    oklch(93.5% 0.022 283.1)

  3. Step 200

    200

    #D4D6F4

    oklch(88.4% 0.041 282.5)

  4. Step 300

    300

    #B8BBF0

    oklch(80.8% 0.075 282.1)

  5. Step 400

    400

    #9597E8

    oklch(70.7% 0.118 281.9)

  6. Step 500

    500 (this color)

    #7876DC

    oklch(61.5% 0.151 281.9)

  7. Step 600

    600

    #6762CF

    oklch(55.7% 0.163 281.8)

  8. Step 700

    700

    #5650B3

    oklch(49.1% 0.152 281.9)

  9. Step 800

    800

    #464291

    oklch(42.7% 0.126 281.9)

  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

#7876DC 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)#4C85E00.059
Deuteranopia (no green cones)#467EDA0.060
Tritanopia (no blue cones)#568B9E0.131
Achromatopsia (no color)#8181810.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7876DC

    #7876DC

    oklch(61.5% 0.151 281.9)

  • #958600

    #958600

    oklch(61.4% 0.128 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7876DC

    #7876DC

    oklch(61.5% 0.151 281.9)

  • #3387DC

    #3387DC

    oklch(61.5% 0.152 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°).

  • #7876DC

    #7876DC

    oklch(61.5% 0.151 281.9)

  • #B57500

    #B57500

    oklch(61.5% 0.132 71.6)

  • #619727

    #619727

    oklch(61.6% 0.152 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7876DC

    #7876DC

    oklch(61.5% 0.151 281.9)

  • #CD6032

    #CD6032

    oklch(61.5% 0.151 42)

  • #009D6B

    #009D6B

    oklch(61.5% 0.135 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7876DC

    #7876DC

    oklch(61.5% 0.151 281.9)

  • #CE586C

    #CE586C

    oklch(61.5% 0.15 12.2)

  • #958600

    #958600

    oklch(61.4% 0.128 101.5)

  • #009895

    #009895

    oklch(61.4% 0.105 192.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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