#764CEA

Closest named color: Purpley (#8756E4). oklch(55.5% 0.224 289.2), rgb(118, 76, 234).

Aa

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

About this color

#764CEA is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.224 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.039 away. White text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.224)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text3.99:1
White text5.26:1

Values

HEX#764CEA
RGBrgb(118, 76, 234)
HSLhsl(256, 79%, 61%)
OKLCHoklch(55.5% 0.224 289.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 #764CEA 5.26:1 AA Lc -80.8 Fine for body text
Black text on #764CEA 3.99:1 AA large text Lc 28.6 Dividers and decoration only
#764CEA text on white 5.26:1 AA Lc 75.5 Fine for body text
#764CEA text on black 3.99:1 AA large text Lc -26.3 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300

    #BEB6FE

    oklch(80.9% 0.101 289)

  5. Step 400

    400

    #9F8DFE

    oklch(70.8% 0.161 288.9)

  6. Step 500

    500

    #8A6BFB

    oklch(63.1% 0.205 289)

  7. Step 600

    600 (this color)

    #764CEA

    oklch(55.5% 0.224 289.2)

  8. Step 700

    700

    #643CCC

    oklch(49.1% 0.208 289.1)

  9. Step 800

    800

    #5133A5

    oklch(42.7% 0.173 289)

  10. Step 900

    900

    #432F83

    oklch(37.8% 0.135 289.3)

  11. Step 950

    950

    #271C4D

    oklch(27% 0.087 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#764CEA 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)#006FEF0.118
Deuteranopia (no green cones)#0068E70.115
Tritanopia (no blue cones)#4D74950.182
Achromatopsia (no color)#6C6C6C0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #764CEA

    #764CEA

    oklch(55.5% 0.224 289.2)

  • #797800

    #797800

    oklch(55.5% 0.121 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #764CEA

    #764CEA

    oklch(55.5% 0.224 289.2)

  • #0069EE

    #0069EE

    oklch(55.5% 0.216 259.1)

  • #A832C3

    #A832C3

    oklch(55.5% 0.225 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #764CEA

    #764CEA

    oklch(55.5% 0.224 289.2)

  • #966900

    #966900

    oklch(55.3% 0.115 79.1)

  • #2E8900

    #2E8900

    oklch(55.4% 0.175 139.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #764CEA

    #764CEA

    oklch(55.5% 0.224 289.2)

  • #B55200

    #B55200

    oklch(55.5% 0.149 49.2)

  • #008768

    #008768

    oklch(55.4% 0.11 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #764CEA

    #764CEA

    oklch(55.5% 0.224 289.2)

  • #D6003A

    #D6003A

    oklch(55.5% 0.223 19.2)

  • #797800

    #797800

    oklch(55.5% 0.121 109.2)

  • #008388

    #008388

    oklch(55.4% 0.094 199.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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