#6B64D4

Closest named color: Dark Periwinkle (#665FD1). oklch(56.7% 0.167 282.5), rgb(107, 100, 212).

Aa

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

About this color

#6B64D4 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.167 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.015 away. White text reads best on it, at 4.77:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.167)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.39:1
White text4.77:1

Values

HEX#6B64D4
RGBrgb(107, 100, 212)
HSLhsl(244, 57%, 61%)
OKLCHoklch(56.7% 0.167 282.5)

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 #6B64D4 4.77:1 AA Lc -78.3 Fine for body text
Black text on #6B64D4 4.39:1 AA large text Lc 31.2 Non-text elements, placeholder text
#6B64D4 text on white 4.77:1 AA Lc 72.9 Content text, not long reading
#6B64D4 text on black 4.39:1 AA large text Lc -28.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F8

    oklch(93.5% 0.022 283.1)

  3. Step 200

    200

    #D4D6F5

    oklch(88.4% 0.043 282.6)

  4. Step 300

    300

    #B9BBF0

    oklch(80.9% 0.075 282.9)

  5. Step 400

    400

    #9696E9

    oklch(70.7% 0.12 282.9)

  6. Step 500

    500

    #7D7AE2

    oklch(63% 0.153 282.4)

  7. Step 600

    600 (this color)

    #6B64D4

    oklch(56.7% 0.167 282.5)

  8. Step 700

    700

    #574FB4

    oklch(49% 0.155 282.6)

  9. Step 800

    800

    #474192

    oklch(42.6% 0.129 282.8)

  10. Step 900

    900

    #3B3874

    oklch(37.6% 0.1 282.7)

  11. Step 950

    950

    #222144

    oklch(26.9% 0.064 282.5)

Export this scale for Tailwind in the Tailwind colors tool

#6B64D4 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)#2876D80.076
Deuteranopia (no green cones)#1F6FD20.078
Tritanopia (no blue cones)#447D920.144
Achromatopsia (no color)#7373730.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B64D4

    #6B64D4

    oklch(56.7% 0.167 282.5)

  • #847800

    #847800

    oklch(56.6% 0.119 102.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B64D4

    #6B64D4

    oklch(56.7% 0.167 282.5)

  • #0E77D4

    #0E77D4

    oklch(56.7% 0.166 252.4)

  • #9753BB

    #9753BB

    oklch(56.6% 0.166 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #6B64D4

    #6B64D4

    oklch(56.7% 0.167 282.5)

  • #A16900

    #A16900

    oklch(56.7% 0.121 72.7)

  • #508900

    #508900

    oklch(56.8% 0.159 132.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B64D4

    #6B64D4

    oklch(56.7% 0.167 282.5)

  • #C34B06

    #C34B06

    oklch(56.7% 0.167 42.5)

  • #008C60

    #008C60

    oklch(56.6% 0.123 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B64D4

    #6B64D4

    oklch(56.7% 0.167 282.5)

  • #C4415B

    #C4415B

    oklch(56.7% 0.167 12.5)

  • #847800

    #847800

    oklch(56.6% 0.119 102.5)

  • #008886

    #008886

    oklch(56.7% 0.097 192.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6B64D4 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.