#645CE9

Closest named color: Dark Periwinkle (#665FD1). oklch(56.3% 0.206 280), rgb(100, 92, 233).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.206)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.24:1
White text4.94:1

Values

HEX#645CE9
RGBrgb(100, 92, 233)
HSLhsl(243, 76%, 64%)
OKLCHoklch(56.3% 0.206 280)

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 #645CE9 4.94:1 AA Lc -79.2 Fine for body text
Black text on #645CE9 4.24:1 AA large text Lc 30.3 Non-text elements, placeholder text
#645CE9 text on white 4.94:1 AA Lc 73.7 Content text, not long reading
#645CE9 text on black 4.24:1 AA large text Lc -28.0 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

    #F3F5FE

    oklch(97.1% 0.012 276.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

    #B4BAFC

    oklch(80.8% 0.093 280.1)

  5. Step 400

    400

    #9094FA

    oklch(70.7% 0.148 280.2)

  6. Step 500

    500

    #7775F8

    oklch(63.1% 0.19 280.1)

  7. Step 600

    600 (this color)

    #645CE9

    oklch(56.3% 0.206 280)

  8. Step 700

    700

    #5248C8

    oklch(49% 0.191 280.2)

  9. Step 800

    800

    #433CA2

    oklch(42.7% 0.159 280.3)

  10. Step 900

    900

    #373581

    oklch(37.7% 0.124 279.8)

  11. Step 950

    950

    #20204B

    oklch(27% 0.078 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#645CE9 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)#0076EE0.086
Deuteranopia (no green cones)#006BE60.079
Tritanopia (no blue cones)#127E9A0.176
Achromatopsia (no color)#7070700.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #645CE9

    #645CE9

    oklch(56.3% 0.206 280)

  • #867600

    #867600

    oklch(56.3% 0.117 99.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645CE9

    #645CE9

    oklch(56.3% 0.206 280)

  • #0078CE

    #0078CE

    oklch(56.4% 0.159 249.9)

  • #9A45CD

    #9A45CD

    oklch(56.3% 0.206 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #645CE9

    #645CE9

    oklch(56.3% 0.206 280)

  • #A26600

    #A26600

    oklch(56.2% 0.122 69.8)

  • #568600

    #568600

    oklch(56.4% 0.152 130.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645CE9

    #645CE9

    oklch(56.3% 0.206 280)

  • #C64400

    #C64400

    oklch(56.3% 0.177 40.1)

  • #008B5B

    #008B5B

    oklch(56.2% 0.127 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645CE9

    #645CE9

    oklch(56.3% 0.206 280)

  • #D12359

    #D12359

    oklch(56.4% 0.206 10.1)

  • #867600

    #867600

    oklch(56.3% 0.117 99.8)

  • #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 #645CE9, closest first.

Similar named colors

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

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