#7873D6

Closest named color: Medium Purple (#9370DB). oklch(60.6% 0.147 283.4), rgb(120, 115, 214).

Aa

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

About this color

#7873D6 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.147 and its hue 283°. 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.22:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.147)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.22:1
White text4.02:1

Values

HEX#7873D6
RGBrgb(120, 115, 214)
HSLhsl(243, 55%, 65%)
OKLCHoklch(60.6% 0.147 283.4)

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 #7873D6 4.02:1 AA large text Lc -72.8 Content text, not long reading
Black text on #7873D6 5.22:1 AA Lc 36.8 Non-text elements, placeholder text
#7873D6 text on white 4.02:1 AA large text Lc 67.3 Content text, not long reading
#7873D6 text on black 5.22:1 AA Lc -34.3 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

    #D5D6F3

    oklch(88.4% 0.04 284)

  4. Step 300

    300

    #BABBEE

    oklch(80.9% 0.072 283.8)

  5. Step 400

    400

    #9797E6

    oklch(70.8% 0.114 283.1)

  6. Step 500

    500 (this color)

    #7873D6

    oklch(60.6% 0.147 283.4)

  7. Step 600

    600

    #6A61CC

    oklch(55.5% 0.16 283.7)

  8. Step 700

    700

    #5850B1

    oklch(49.1% 0.149 283.2)

  9. Step 800

    800

    #48428F

    oklch(42.7% 0.123 283.4)

  10. Step 900

    900

    #3C3972

    oklch(37.8% 0.095 283.2)

  11. Step 950

    950

    #232243

    oklch(27.1% 0.06 283)

Export this scale for Tailwind in the Tailwind colors tool

#7873D6 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)#4B82DA0.061
Deuteranopia (no green cones)#477BD40.061
Tritanopia (no blue cones)#5A879A0.126
Achromatopsia (no color)#7F7F7F0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #7873D6

    #7873D6

    oklch(60.6% 0.147 283.4)

  • #908400

    #908400

    oklch(60.5% 0.127 103.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7873D6

    #7873D6

    oklch(60.6% 0.147 283.4)

  • #3984D7

    #3984D7

    oklch(60.7% 0.147 253.3)

  • #A164BF

    #A164BF

    oklch(60.6% 0.147 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #7873D6

    #7873D6

    oklch(60.6% 0.147 283.4)

  • #B07400

    #B07400

    oklch(60.7% 0.129 73.3)

  • #5C942C

    #5C942C

    oklch(60.6% 0.147 133.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7873D6

    #7873D6

    oklch(60.6% 0.147 283.4)

  • #C85F2F

    #C85F2F

    oklch(60.6% 0.147 43.2)

  • #009A6C

    #009A6C

    oklch(60.7% 0.13 163.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7873D6

    #7873D6

    oklch(60.6% 0.147 283.4)

  • #CA5768

    #CA5768

    oklch(60.7% 0.147 13.5)

  • #908400

    #908400

    oklch(60.5% 0.127 103.1)

  • #009593

    #009593

    oklch(60.6% 0.104 193.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7873D6 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.