#7878CF

Closest named color: Medium Purple (#9370DB). oklch(61.2% 0.13 281.9), rgb(120, 120, 207).

Aa

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

About this color

#7878CF is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.130 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.049 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.38:1
White text3.89:1

Values

HEX#7878CF
RGBrgb(120, 120, 207)
HSLhsl(240, 48%, 64%)
OKLCHoklch(61.2% 0.13 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 #7878CF 3.89:1 AA large text Lc -71.8 Content text, not long reading
Black text on #7878CF 5.38:1 AA Lc 37.8 Non-text elements, placeholder text
#7878CF text on white 3.89:1 AA large text Lc 66.3 Content text, not long reading
#7878CF text on black 5.38:1 AA Lc -35.4 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D5D7F1

    oklch(88.6% 0.036 282.1)

  4. Step 300

    300

    #B9BCE9

    oklch(80.8% 0.063 281.9)

  5. Step 400

    400

    #9699DF

    oklch(70.8% 0.102 281.6)

  6. Step 500

    500 (this color)

    #7878CF

    oklch(61.2% 0.13 281.9)

  7. Step 600

    600

    #6866C3

    oklch(55.7% 0.141 281.8)

  8. Step 700

    700

    #5754A8

    oklch(49.1% 0.131 282.1)

  9. Step 800

    800

    #474588

    oklch(42.7% 0.108 282.1)

  10. Step 900

    900

    #3B3B6D

    oklch(37.8% 0.084 281.6)

  11. Step 950

    950

    #222340

    oklch(27.1% 0.053 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#7878CF 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)#5884D20.047
Deuteranopia (no green cones)#547ECD0.046
Tritanopia (no blue cones)#5D8A990.114
Achromatopsia (no color)#8181810.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #7878CF

    #7878CF

    oklch(61.2% 0.13 281.9)

  • #948500

    #948500

    oklch(61.1% 0.128 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7878CF

    #7878CF

    oklch(61.2% 0.13 281.9)

  • #4287CF

    #4287CF

    oklch(61.2% 0.13 251.6)

  • #9D6BBC

    #9D6BBC

    oklch(61.2% 0.13 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #7878CF

    #7878CF

    oklch(61.2% 0.13 281.9)

  • #B37404

    #B37404

    oklch(61.1% 0.13 71.5)

  • #66933A

    #66933A

    oklch(61.1% 0.129 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7878CF

    #7878CF

    oklch(61.2% 0.13 281.9)

  • #C36640

    #C36640

    oklch(61.2% 0.13 42.2)

  • #149B6B

    #149B6B

    oklch(61.1% 0.13 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7878CF

    #7878CF

    oklch(61.2% 0.13 281.9)

  • #C45F6F

    #C45F6F

    oklch(61.1% 0.13 11.8)

  • #948500

    #948500

    oklch(61.1% 0.128 101.4)

  • #009794

    #009794

    oklch(61.1% 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 #7878CF, closest first.

Similar named colors

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

Use #7878CF 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.