#7874AB

Closest named color: Dark Lavender (#856798). oklch(58.5% 0.084 286.8), rgb(120, 116, 171).

Aa

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

About this color

#7874AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.084 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.042 away. Black text reads best on it, at 4.88:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.88:1
White text4.29:1

Values

HEX#7874AB
RGBrgb(120, 116, 171)
HSLhsl(244, 25%, 56%)
OKLCHoklch(58.5% 0.084 286.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 #7874AB 4.29:1 AA large text Lc -75.2 Fine for body text
Black text on #7874AB 4.88:1 AA Lc 34.4 Non-text elements, placeholder text
#7874AB text on white 4.29:1 AA large text Lc 69.7 Content text, not long reading
#7874AB text on black 4.88:1 AA Lc -32.0 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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D8D7E7

    oklch(88.5% 0.022 288.8)

  4. Step 300

    300

    #BEBDD8

    oklch(80.8% 0.038 287.2)

  5. Step 400

    400

    #9D9BC5

    oklch(70.6% 0.061 286.9)

  6. Step 500

    500

    #8683B6

    oklch(63.2% 0.076 286.7)

  7. Step 600

    600 (this color)

    #7874AB

    oklch(58.5% 0.084 286.8)

  8. Step 700

    700

    #5E5A8B

    oklch(49.2% 0.078 286.9)

  9. Step 800

    800

    #4C4971

    oklch(42.6% 0.066 286.7)

  10. Step 900

    900

    #403E5B

    oklch(37.9% 0.049 287)

  11. Step 950

    950

    #252435

    oklch(26.9% 0.031 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#7874AB 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)#657BAD0.030
Deuteranopia (no green cones)#6478AA0.029
Tritanopia (no blue cones)#6C7E880.072
Achromatopsia (no color)#7A7A7A0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #7874AB

    #7874AB

    oklch(58.5% 0.084 286.8)

  • #817F41

    #817F41

    oklch(58.4% 0.084 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7874AB

    #7874AB

    oklch(58.5% 0.084 286.8)

  • #5B7DAD

    #5B7DAD

    oklch(58.4% 0.084 257.1)

  • #906C9D

    #906C9D

    oklch(58.5% 0.084 316.9)

Open the analogous palette in the generator

Split complementary

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

  • #7874AB

    #7874AB

    oklch(58.5% 0.084 286.8)

  • #98753F

    #98753F

    oklch(58.5% 0.084 76.7)

  • #648755

    #648755

    oklch(58.4% 0.083 136.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7874AB

    #7874AB

    oklch(58.5% 0.084 286.8)

  • #A56C50

    #A56C50

    oklch(58.5% 0.084 46.8)

  • #448C71

    #448C71

    oklch(58.6% 0.084 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7874AB

    #7874AB

    oklch(58.5% 0.084 286.8)

  • #A7676A

    #A7676A

    oklch(58.4% 0.083 16.9)

  • #817F41

    #817F41

    oklch(58.4% 0.084 107.1)

  • #318B8D

    #318B8D

    oklch(58.5% 0.083 197.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7874AB 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.