#7C64DB

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.6% 0.175 289.1), rgb(124, 100, 219).

Aa

Black text reads best on this color (4.70:1).

About this color

#7C64DB is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.175 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.029 away. Black text reads best on it, at 4.70:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.175)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.70:1
White text4.46:1

Values

HEX#7C64DB
RGBrgb(124, 100, 219)
HSLhsl(252, 62%, 63%)
OKLCHoklch(58.6% 0.175 289.1)

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 #7C64DB 4.46:1 AA large text Lc -76.2 Fine for body text
Black text on #7C64DB 4.70:1 AA Lc 33.4 Non-text elements, placeholder text
#7C64DB text on white 4.46:1 AA large text Lc 70.7 Content text, not long reading
#7C64DB text on black 4.70:1 AA Lc -31.0 Non-text elements, placeholder text

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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #BEB9F1

    oklch(80.9% 0.079 288.6)

  5. Step 400

    400

    #9F92EA

    oklch(70.7% 0.127 289.5)

  6. Step 500

    500

    #8975E3

    oklch(63.1% 0.161 289.3)

  7. Step 600

    600 (this color)

    #7C64DB

    oklch(58.6% 0.175 289.1)

  8. Step 700

    700

    #614AB5

    oklch(49.1% 0.162 288.9)

  9. Step 800

    800

    #4F3D92

    oklch(42.6% 0.134 289.2)

  10. Step 900

    900

    #413575

    oklch(37.6% 0.106 288.9)

  11. Step 950

    950

    #262044

    oklch(27% 0.065 288.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C64DB 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)#267ADF0.100
Deuteranopia (no green cones)#2974D80.097
Tritanopia (no blue cones)#607E960.145
Achromatopsia (no color)#7777770.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C64DB

    #7C64DB

    oklch(58.6% 0.175 289.1)

  • #828100

    #828100

    oklch(58.5% 0.127 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C64DB

    #7C64DB

    oklch(58.6% 0.175 289.1)

  • #3478E1

    #3478E1

    oklch(58.6% 0.174 259.1)

  • #A753BC

    #A753BC

    oklch(58.6% 0.174 319.2)

Open the analogous palette in the generator

Split complementary

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

  • #7C64DB

    #7C64DB

    oklch(58.6% 0.175 289.1)

  • #A27200

    #A27200

    oklch(58.6% 0.122 79.3)

  • #3A9317

    #3A9317

    oklch(58.6% 0.175 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C64DB

    #7C64DB

    oklch(58.6% 0.175 289.1)

  • #C35900

    #C35900

    oklch(58.7% 0.157 49.2)

  • #009270

    #009270

    oklch(58.7% 0.117 169)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C64DB

    #7C64DB

    oklch(58.6% 0.175 289.1)

  • #CF4451

    #CF4451

    oklch(58.6% 0.174 19.1)

  • #828100

    #828100

    oklch(58.5% 0.127 109.2)

  • #008D92

    #008D92

    oklch(58.4% 0.099 199.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7C64DB.

Similar named colors

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

Use #7C64DB 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.