#764CBE

Closest named color: Iris (#6258C4). oklch(52.1% 0.172 297), rgb(118, 76, 190).

Aa

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

About this color

#764CBE is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.172 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.041 away. White text reads best on it, at 5.91:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.172)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.54:1
White text5.91:1

Values

HEX#764CBE
RGBrgb(118, 76, 190)
HSLhsl(262, 47%, 52%)
OKLCHoklch(52.1% 0.172 297)

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 #764CBE 5.91:1 AA Lc -84.4 Fine for body text
Black text on #764CBE 3.54:1 AA large text Lc 24.9 Dividers and decoration only
#764CBE text on white 5.91:1 AA Lc 79.2 Fine for body text
#764CBE text on black 3.54:1 AA large text Lc -22.6 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 700.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F5

    oklch(88.5% 0.047 297.5)

  4. Step 300

    300

    #C6B6F0

    oklch(80.9% 0.082 297.2)

  5. Step 400

    400

    #AA8EE9

    oklch(70.8% 0.132 297.1)

  6. Step 500

    500

    #966EE2

    oklch(63.1% 0.17 297.2)

  7. Step 600

    600

    #8153D0

    oklch(55.6% 0.185 296.9)

  8. Step 700

    700 (this color)

    #764CBE

    oklch(52.1% 0.172 297)

  9. Step 800

    800

    #593892

    oklch(42.8% 0.142 296.8)

  10. Step 900

    900

    #493174

    oklch(37.7% 0.111 297.3)

  11. Step 950

    950

    #2A1D44

    oklch(26.8% 0.071 296.7)

Export this scale for Tailwind in the Tailwind colors tool

#764CBE 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)#0064C20.123
Deuteranopia (no green cones)#1C63BB0.115
Tritanopia (no blue cones)#65657E0.134
Achromatopsia (no color)#6464640.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #764CBE

    #764CBE

    oklch(52.1% 0.172 297)

  • #657100

    #657100

    oklch(52% 0.12 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #764CBE

    #764CBE

    oklch(52.1% 0.172 297)

  • #3D5FCB

    #3D5FCB

    oklch(52.2% 0.172 267)

  • #9A3C9B

    #9A3C9B

    oklch(52.2% 0.171 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #764CBE

    #764CBE

    oklch(52.1% 0.172 297)

  • #846400

    #846400

    oklch(52.1% 0.107 86.6)

  • #00802C

    #00802C

    oklch(52.3% 0.155 147)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #764CBE

    #764CBE

    oklch(52.1% 0.172 297)

  • #9E5300

    #9E5300

    oklch(52.2% 0.126 57.2)

  • #007B68

    #007B68

    oklch(52.1% 0.097 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #764CBE

    #764CBE

    oklch(52.1% 0.172 297)

  • #B8312D

    #B8312D

    oklch(52.2% 0.173 26.9)

  • #657100

    #657100

    oklch(52% 0.12 116.8)

  • #007783

    #007783

    oklch(52% 0.089 207.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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