#7874AC

Closest named color: Dark Lavender (#856798). oklch(58.5% 0.085 286.7), rgb(120, 116, 172).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.89:1
White text4.29:1

Values

HEX#7874AC
RGBrgb(120, 116, 172)
HSLhsl(244, 25%, 56%)
OKLCHoklch(58.5% 0.085 286.7)

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 #7874AC 4.29:1 AA large text Lc -75.1 Fine for body text
Black text on #7874AC 4.89:1 AA Lc 34.4 Non-text elements, placeholder text
#7874AC text on white 4.29:1 AA large text Lc 69.7 Content text, not long reading
#7874AC text on black 4.89: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

    #BEBDD9

    oklch(80.8% 0.039 287.1)

  5. Step 400

    400

    #9D9BC6

    oklch(70.6% 0.062 286.8)

  6. Step 500

    500

    #8682B7

    oklch(63% 0.079 287.4)

  7. Step 600

    600 (this color)

    #7874AC

    oklch(58.5% 0.085 286.7)

  8. Step 700

    700

    #5D598B

    oklch(48.9% 0.079 286.7)

  9. Step 800

    800

    #4C4971

    oklch(42.6% 0.066 286.7)

  10. Step 900

    900

    #3F3D5C

    oklch(37.6% 0.053 286.5)

  11. Step 950

    950

    #252436

    oklch(27% 0.033 286.5)

Export this scale for Tailwind in the Tailwind colors tool

#7874AC 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)#647BAE0.031
Deuteranopia (no green cones)#6379AB0.031
Tritanopia (no blue cones)#6C7E880.073
Achromatopsia (no color)#7A7A7A0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #7874AC

    #7874AC

    oklch(58.5% 0.085 286.7)

  • #827F40

    #827F40

    oklch(58.5% 0.085 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7874AC

    #7874AC

    oklch(58.5% 0.085 286.7)

  • #5A7DAE

    #5A7DAE

    oklch(58.4% 0.086 256.9)

  • #906C9E

    #906C9E

    oklch(58.5% 0.085 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #7874AC

    #7874AC

    oklch(58.5% 0.085 286.7)

  • #98753E

    #98753E

    oklch(58.5% 0.085 77.1)

  • #648855

    #648855

    oklch(58.6% 0.085 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7874AC

    #7874AC

    oklch(58.5% 0.085 286.7)

  • #A66C4F

    #A66C4F

    oklch(58.6% 0.085 47.1)

  • #438C71

    #438C71

    oklch(58.5% 0.085 166.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7874AC

    #7874AC

    oklch(58.5% 0.085 286.7)

  • #A8666A

    #A8666A

    oklch(58.4% 0.085 16.1)

  • #827F40

    #827F40

    oklch(58.5% 0.085 106.3)

  • #2E8B8D

    #2E8B8D

    oklch(58.4% 0.085 197.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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