#645CE7

Closest named color: Dark Periwinkle (#665FD1). oklch(56.2% 0.203 280.2), rgb(100, 92, 231).

Aa

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

About this color

#645CE7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.203 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.035 away. White text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.203)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.22:1
White text4.96:1

Values

HEX#645CE7
RGBrgb(100, 92, 231)
HSLhsl(243, 74%, 63%)
OKLCHoklch(56.2% 0.203 280.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 #645CE7 4.96:1 AA Lc -79.3 Fine for body text
Black text on #645CE7 4.22:1 AA large text Lc 30.2 Non-text elements, placeholder text
#645CE7 text on white 4.96:1 AA Lc 73.9 Content text, not long reading
#645CE7 text on black 4.22:1 AA large text Lc -27.8 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B5BAFB

    oklch(80.8% 0.092 280.7)

  5. Step 400

    400

    #9094F9

    oklch(70.7% 0.146 280.2)

  6. Step 500

    500

    #7776F6

    oklch(63.1% 0.186 280)

  7. Step 600

    600 (this color)

    #645CE7

    oklch(56.2% 0.203 280.2)

  8. Step 700

    700

    #5249C7

    oklch(49.1% 0.189 280.1)

  9. Step 800

    800

    #433DA1

    oklch(42.7% 0.156 280.2)

  10. Step 900

    900

    #383580

    oklch(37.7% 0.123 280.5)

  11. Step 950

    950

    #20204B

    oklch(27% 0.078 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#645CE7 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)#0075EC0.085
Deuteranopia (no green cones)#006AE40.079
Tritanopia (no blue cones)#187E990.175
Achromatopsia (no color)#7070700.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #645CE7

    #645CE7

    oklch(56.2% 0.203 280.2)

  • #857600

    #857600

    oklch(56.2% 0.117 100.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645CE7

    #645CE7

    oklch(56.2% 0.203 280.2)

  • #0077CE

    #0077CE

    oklch(56.1% 0.16 250.3)

  • #9946CB

    #9946CB

    oklch(56.1% 0.203 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #645CE7

    #645CE7

    oklch(56.2% 0.203 280.2)

  • #A16600

    #A16600

    oklch(56.1% 0.121 70.3)

  • #568500

    #568500

    oklch(56.1% 0.151 130)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645CE7

    #645CE7

    oklch(56.2% 0.203 280.2)

  • #C54400

    #C54400

    oklch(56.2% 0.176 40.2)

  • #008B5B

    #008B5B

    oklch(56.2% 0.127 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645CE7

    #645CE7

    oklch(56.2% 0.203 280.2)

  • #CF2559

    #CF2559

    oklch(56.1% 0.203 10)

  • #857600

    #857600

    oklch(56.2% 0.117 100.5)

  • #008782

    #008782

    oklch(56.3% 0.097 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #645CE7 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.