#864CEA

Closest named color: Purpley (#8756E4). oklch(57% 0.225 295.1), rgb(134, 76, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.225)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.23:1
White text4.95:1

Values

HEX#864CEA
RGBrgb(134, 76, 234)
HSLhsl(262, 79%, 61%)
OKLCHoklch(57% 0.225 295.1)

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 #864CEA 4.95:1 AA Lc -79.1 Fine for body text
Black text on #864CEA 4.23:1 AA large text Lc 30.4 Non-text elements, placeholder text
#864CEA text on white 4.95:1 AA Lc 73.6 Content text, not long reading
#864CEA text on black 4.23:1 AA large text Lc -28.1 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DBD2FB

    oklch(88.4% 0.057 295.3)

  4. Step 300

    300

    #C5B4FB

    oklch(80.9% 0.1 295.1)

  5. Step 400

    400

    #A989F9

    oklch(70.7% 0.161 295.1)

  6. Step 500

    500

    #9666F6

    oklch(63.1% 0.206 295.2)

  7. Step 600

    600 (this color)

    #864CEA

    oklch(57% 0.225 295.1)

  8. Step 700

    700

    #6E37C7

    oklch(49.1% 0.208 295)

  9. Step 800

    800

    #5A2FA1

    oklch(42.7% 0.173 295.4)

  10. Step 900

    900

    #492C80

    oklch(37.7% 0.135 295)

  11. Step 950

    950

    #2B1B4B

    oklch(27.1% 0.085 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#864CEA 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)#0071EF0.140
Deuteranopia (no green cones)#006DE70.140
Tritanopia (no blue cones)#6B73950.176
Achromatopsia (no color)#7070700.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #864CEA

    #864CEA

    oklch(57% 0.225 295.1)

  • #757F00

    #757F00

    oklch(56.9% 0.129 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #864CEA

    #864CEA

    oklch(57% 0.225 295.1)

  • #3467F9

    #3467F9

    oklch(57% 0.225 265.1)

  • #B433BE

    #B433BE

    oklch(57% 0.224 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #864CEA

    #864CEA

    oklch(57% 0.225 295.1)

  • #977100

    #977100

    oklch(57.1% 0.117 85.1)

  • #009126

    #009126

    oklch(57.1% 0.179 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #864CEA

    #864CEA

    oklch(57% 0.225 295.1)

  • #B45C00

    #B45C00

    oklch(56.9% 0.141 55.1)

  • #008C74

    #008C74

    oklch(57.1% 0.108 174.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #864CEA

    #864CEA

    oklch(57% 0.225 295.1)

  • #DD1228

    #DD1228

    oklch(57% 0.225 25)

  • #757F00

    #757F00

    oklch(56.9% 0.129 115.2)

  • #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 #864CEA, closest first.

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

Similar named colors

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

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