#864EE4

Closest named color: Purpley (#8756E4). oklch(56.8% 0.215 295.9), rgb(134, 78, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.215)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.22:1
White text4.97:1

Values

HEX#864EE4
RGBrgb(134, 78, 228)
HSLhsl(262, 74%, 60%)
OKLCHoklch(56.8% 0.215 295.9)

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 #864EE4 4.97:1 AA Lc -79.2 Fine for body text
Black text on #864EE4 4.22:1 AA large text Lc 30.3 Non-text elements, placeholder text
#864EE4 text on white 4.97:1 AA Lc 73.8 Content text, not long reading
#864EE4 text on black 4.22:1 AA large text Lc -27.9 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

    #DCD3FA

    oklch(88.6% 0.054 295.9)

  4. Step 300

    300

    #C6B4F9

    oklch(80.9% 0.098 296.1)

  5. Step 400

    400

    #AA8AF5

    oklch(70.7% 0.154 296)

  6. Step 500

    500

    #9768F1

    oklch(63.1% 0.198 296.1)

  7. Step 600

    600 (this color)

    #864EE4

    oklch(56.8% 0.215 295.9)

  8. Step 700

    700

    #6F39C2

    oklch(49% 0.201 296.2)

  9. Step 800

    800

    #5A319D

    oklch(42.7% 0.166 296)

  10. Step 900

    900

    #492D7D

    oklch(37.6% 0.13 295.6)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#864EE4 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)#0071E90.140
Deuteranopia (no green cones)#006EE10.140
Tritanopia (no blue cones)#6E72920.169
Achromatopsia (no color)#7070700.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #864EE4

    #864EE4

    oklch(56.8% 0.215 295.9)

  • #747F00

    #747F00

    oklch(56.8% 0.129 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #864EE4

    #864EE4

    oklch(56.8% 0.215 295.9)

  • #3A67F3

    #3A67F3

    oklch(56.7% 0.216 266)

  • #B337B9

    #B337B9

    oklch(56.9% 0.216 326)

Open the analogous palette in the generator

Split complementary

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

  • #864EE4

    #864EE4

    oklch(56.8% 0.215 295.9)

  • #957100

    #957100

    oklch(56.9% 0.116 86.4)

  • #00902C

    #00902C

    oklch(56.8% 0.174 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #864EE4

    #864EE4

    oklch(56.8% 0.215 295.9)

  • #B35D00

    #B35D00

    oklch(57% 0.139 56.1)

  • #008B74

    #008B74

    oklch(56.9% 0.107 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #864EE4

    #864EE4

    oklch(56.8% 0.215 295.9)

  • #D92029

    #D92029

    oklch(56.9% 0.215 25.9)

  • #747F00

    #747F00

    oklch(56.8% 0.129 115.7)

  • #008793

    #008793

    oklch(56.9% 0.097 205.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #864EE4.

Similar named colors

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

Use #864EE4 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.