#874CE3

Closest named color: Purpley (#8756E4). oklch(56.6% 0.217 296.8), rgb(135, 76, 227).

Aa

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

About this color

#874CE3 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.217 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.020 away. White text reads best on it, at 5.03:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.217)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.17:1
White text5.03:1

Values

HEX#874CE3
RGBrgb(135, 76, 227)
HSLhsl(263, 73%, 59%)
OKLCHoklch(56.6% 0.217 296.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 #874CE3 5.03:1 AA Lc -79.5 Fine for body text
Black text on #874CE3 4.17:1 AA large text Lc 29.9 Dividers and decoration only
#874CE3 text on white 5.03:1 AA Lc 74.1 Content text, not long reading
#874CE3 text on black 4.17:1 AA large text Lc -27.6 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2F9

    oklch(88.4% 0.054 297)

  4. Step 300

    300

    #C7B4F9

    oklch(81% 0.098 296.8)

  5. Step 400

    400

    #AB89F5

    oklch(70.6% 0.156 296.7)

  6. Step 500

    500

    #9867F1

    oklch(63.1% 0.199 296.6)

  7. Step 600

    600 (this color)

    #874CE3

    oklch(56.6% 0.217 296.8)

  8. Step 700

    700

    #7038C2

    oklch(49% 0.202 296.8)

  9. Step 800

    800

    #5B309D

    oklch(42.7% 0.167 296.7)

  10. Step 900

    900

    #4A2D7D

    oklch(37.8% 0.13 296.3)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#874CE3 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)#0070E80.143
Deuteranopia (no green cones)#006DE00.143
Tritanopia (no blue cones)#7070910.168
Achromatopsia (no color)#6F6F6F0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #874CE3

    #874CE3

    oklch(56.6% 0.217 296.8)

  • #727F00

    #727F00

    oklch(56.6% 0.13 116.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #874CE3

    #874CE3

    oklch(56.6% 0.217 296.8)

  • #3D66F3

    #3D66F3

    oklch(56.6% 0.216 266.8)

  • #B334B7

    #B334B7

    oklch(56.5% 0.217 326.7)

Open the analogous palette in the generator

Split complementary

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

  • #874CE3

    #874CE3

    oklch(56.6% 0.217 296.8)

  • #947000

    #947000

    oklch(56.5% 0.116 86.2)

  • #008F31

    #008F31

    oklch(56.6% 0.169 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #874CE3

    #874CE3

    oklch(56.6% 0.217 296.8)

  • #B15D00

    #B15D00

    oklch(56.7% 0.137 56.8)

  • #008A75

    #008A75

    oklch(56.6% 0.105 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #874CE3

    #874CE3

    oklch(56.6% 0.217 296.8)

  • #D91D23

    #D91D23

    oklch(56.6% 0.217 26.8)

  • #727F00

    #727F00

    oklch(56.6% 0.13 116.7)

  • #008693

    #008693

    oklch(56.7% 0.097 206.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #874CE3.

Similar named colors

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

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