#874FC2

Closest named color: Deep Lavender (#8D5EB7). oklch(54.7% 0.175 303.6), rgb(135, 79, 194).

Aa

White text reads best on this color (5.34:1).

About this color

#874FC2 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.175 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.043 away. White text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.175)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.92:1
White text5.34:1

Values

HEX#874FC2
RGBrgb(135, 79, 194)
HSLhsl(269, 49%, 54%)
OKLCHoklch(54.7% 0.175 303.6)

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 #874FC2 5.34:1 AA Lc -81.5 Fine for body text
Black text on #874FC2 3.92:1 AA large text Lc 27.9 Dividers and decoration only
#874FC2 text on white 5.34:1 AA Lc 76.2 Fine for body text
#874FC2 text on black 3.92:1 AA large text Lc -25.5 Dividers and decoration only

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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD3F1

    oklch(88.6% 0.043 303.7)

  4. Step 300

    300

    #CBB5EB

    oklch(81% 0.078 303.3)

  5. Step 400

    400

    #B18CE1

    oklch(70.7% 0.127 303.4)

  6. Step 500

    500

    #9F6DD8

    oklch(63.2% 0.161 303.7)

  7. Step 600

    600 (this color)

    #874FC2

    oklch(54.7% 0.175 303.6)

  8. Step 700

    700

    #7542AA

    oklch(49.1% 0.162 303.6)

  9. Step 800

    800

    #5F378A

    oklch(42.7% 0.135 303.4)

  10. Step 900

    900

    #4E306E

    oklch(37.6% 0.106 304.1)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#874FC2 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)#176AC60.140
Deuteranopia (no green cones)#336BBF0.126
Tritanopia (no blue cones)#7C66810.129
Achromatopsia (no color)#6B6B6B0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #874FC2

    #874FC2

    oklch(54.7% 0.175 303.6)

  • #617D00

    #617D00

    oklch(54.8% 0.136 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #874FC2

    #874FC2

    oklch(54.7% 0.175 303.6)

  • #5362D4

    #5362D4

    oklch(54.6% 0.174 273.5)

  • #A93F9A

    #A93F9A

    oklch(54.6% 0.175 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #874FC2

    #874FC2

    oklch(54.7% 0.175 303.6)

  • #876E00

    #876E00

    oklch(54.7% 0.112 93.1)

  • #008748

    #008748

    oklch(54.7% 0.139 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #874FC2

    #874FC2

    oklch(54.7% 0.175 303.6)

  • #A25E00

    #A25E00

    oklch(54.8% 0.124 63.6)

  • #008376

    #008376

    oklch(54.8% 0.098 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #874FC2

    #874FC2

    oklch(54.7% 0.175 303.6)

  • #C13B1F

    #C13B1F

    oklch(54.6% 0.175 33.4)

  • #617D00

    #617D00

    oklch(54.8% 0.136 123.8)

  • #007E92

    #007E92

    oklch(54.5% 0.096 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #874FC2 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.