#864EB4

Closest named color: Deep Lavender (#8D5EB7). oklch(53.5% 0.16 307.2), rgb(134, 78, 180).

Aa

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

About this color

#864EB4 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.160 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.040 away. White text reads best on it, at 5.58:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.160)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.76:1
White text5.58:1

Values

HEX#864EB4
RGBrgb(134, 78, 180)
HSLhsl(273, 40%, 51%)
OKLCHoklch(53.5% 0.16 307.2)

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 #864EB4 5.58:1 AA Lc -82.8 Fine for body text
Black text on #864EB4 3.76:1 AA large text Lc 26.5 Dividers and decoration only
#864EB4 text on white 5.58:1 AA Lc 77.5 Fine for body text
#864EB4 text on black 3.76:1 AA large text Lc -24.2 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

    #EDE6F5

    oklch(93.5% 0.021 306.8)

  3. Step 200

    200

    #E0D3EE

    oklch(88.6% 0.039 307.2)

  4. Step 300

    300

    #CDB5E5

    oklch(80.9% 0.071 307.5)

  5. Step 400

    400

    #B48DD9

    oklch(70.8% 0.116 307.2)

  6. Step 500

    500

    #A16ECE

    oklch(63% 0.148 307.2)

  7. Step 600

    600 (this color)

    #864EB4

    oklch(53.5% 0.16 307.2)

  8. Step 700

    700

    #7744A1

    oklch(49.1% 0.149 307.1)

  9. Step 800

    800

    #613983

    oklch(42.8% 0.123 306.9)

  10. Step 900

    900

    #4F3269

    oklch(37.8% 0.096 306.7)

  11. Step 950

    950

    #2E1D3D

    oklch(26.8% 0.061 307.3)

Export this scale for Tailwind in the Tailwind colors tool

#864EB4 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)#2A66B70.131
Deuteranopia (no green cones)#3F68B20.116
Tritanopia (no blue cones)#7F61790.116
Achromatopsia (no color)#6868680.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #864EB4

    #864EB4

    oklch(53.5% 0.16 307.2)

  • #577B00

    #577B00

    oklch(53.5% 0.139 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #864EB4

    #864EB4

    oklch(53.5% 0.16 307.2)

  • #595FC7

    #595FC7

    oklch(53.5% 0.159 277.1)

  • #A4418E

    #A4418E

    oklch(53.5% 0.159 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #864EB4

    #864EB4

    oklch(53.5% 0.16 307.2)

  • #7F6D00

    #7F6D00

    oklch(53.6% 0.111 97.7)

  • #00824E

    #00824E

    oklch(53.4% 0.127 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #864EB4

    #864EB4

    oklch(53.5% 0.16 307.2)

  • #9A5D00

    #9A5D00

    oklch(53.5% 0.118 66.7)

  • #007E76

    #007E76

    oklch(53.4% 0.093 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #864EB4

    #864EB4

    oklch(53.5% 0.16 307.2)

  • #B7411B

    #B7411B

    oklch(53.6% 0.16 37.2)

  • #577B00

    #577B00

    oklch(53.5% 0.139 127.2)

  • #007A91

    #007A91

    oklch(53.4% 0.095 217.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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