#764CDE

Closest named color: Purpley (#8756E4). oklch(54.5% 0.21 291), rgb(118, 76, 222).

Aa

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

About this color

#764CDE is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.210 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.038 away. White text reads best on it, at 5.44:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.210)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text3.85:1
White text5.44:1

Values

HEX#764CDE
RGBrgb(118, 76, 222)
HSLhsl(257, 69%, 58%)
OKLCHoklch(54.5% 0.21 291)

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 #764CDE 5.44:1 AA Lc -81.9 Fine for body text
Black text on #764CDE 3.85:1 AA large text Lc 27.5 Dividers and decoration only
#764CDE text on white 5.44:1 AA Lc 76.6 Fine for body text
#764CDE text on black 3.85:1 AA large text Lc -25.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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #C0B6FA

    oklch(80.9% 0.095 290.8)

  5. Step 400

    400

    #A28DF7

    oklch(70.7% 0.152 291.1)

  6. Step 500

    500

    #8D6DF3

    oklch(63.1% 0.193 290.8)

  7. Step 600

    600 (this color)

    #764CDE

    oklch(54.5% 0.21 291)

  8. Step 700

    700

    #663FC4

    oklch(49.1% 0.195 290.9)

  9. Step 800

    800

    #53359F

    oklch(42.7% 0.163 290.9)

  10. Step 900

    900

    #44307E

    oklch(37.7% 0.126 290.9)

  11. Step 950

    950

    #281D4A

    oklch(27.1% 0.08 291.4)

Export this scale for Tailwind in the Tailwind colors tool

#764CDE 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)#006CE20.119
Deuteranopia (no green cones)#0066DB0.117
Tritanopia (no blue cones)#55708F0.169
Achromatopsia (no color)#6A6A6A0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #764CDE

    #764CDE

    oklch(54.5% 0.21 291)

  • #747600

    #747600

    oklch(54.6% 0.12 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #764CDE

    #764CDE

    oklch(54.5% 0.21 291)

  • #1A65E8

    #1A65E8

    oklch(54.5% 0.211 261)

  • #A435B8

    #A435B8

    oklch(54.5% 0.21 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #764CDE

    #764CDE

    oklch(54.5% 0.21 291)

  • #916800

    #916800

    oklch(54.5% 0.113 81.4)

  • #1D8700

    #1D8700

    oklch(54.4% 0.179 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #764CDE

    #764CDE

    oklch(54.5% 0.21 291)

  • #AE5200

    #AE5200

    oklch(54.4% 0.142 51.1)

  • #008468

    #008468

    oklch(54.6% 0.107 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #764CDE

    #764CDE

    oklch(54.5% 0.21 291)

  • #CE1535

    #CE1535

    oklch(54.4% 0.21 21.1)

  • #747600

    #747600

    oklch(54.6% 0.12 111)

  • #008086

    #008086

    oklch(54.5% 0.093 200.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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