#7864DD

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.4% 0.177 287.2), rgb(120, 100, 221).

Aa

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

About this color

#7864DD is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.177 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.027 away. Black text reads best on it, at 4.66:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.177)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.66:1
White text4.50:1

Values

HEX#7864DD
RGBrgb(120, 100, 221)
HSLhsl(250, 64%, 63%)
OKLCHoklch(58.4% 0.177 287.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 #7864DD 4.50:1 AA Lc -76.4 Fine for body text
Black text on #7864DD 4.66:1 AA Lc 33.1 Non-text elements, placeholder text
#7864DD text on white 4.50:1 AA Lc 71.0 Content text, not long reading
#7864DD text on black 4.66:1 AA Lc -30.7 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

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D5F6

    oklch(88.4% 0.045 286.8)

  4. Step 300

    300

    #BDB9F2

    oklch(80.9% 0.08 287.7)

  5. Step 400

    400

    #9C93EC

    oklch(70.7% 0.128 287.3)

  6. Step 500

    500

    #8576E6

    oklch(63.2% 0.163 286.9)

  7. Step 600

    600 (this color)

    #7864DD

    oklch(58.4% 0.177 287.2)

  8. Step 700

    700

    #5E4AB7

    oklch(49% 0.165 287.1)

  9. Step 800

    800

    #4D3E94

    oklch(42.7% 0.136 287.2)

  10. Step 900

    900

    #3F3676

    oklch(37.7% 0.106 286.6)

  11. Step 950

    950

    #252045

    oklch(27% 0.067 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#7864DD 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)#207AE10.097
Deuteranopia (no green cones)#1F73DA0.095
Tritanopia (no blue cones)#587F970.149
Achromatopsia (no color)#7777770.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #7864DD

    #7864DD

    oklch(58.4% 0.177 287.2)

  • #848000

    #848000

    oklch(58.4% 0.126 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7864DD

    #7864DD

    oklch(58.4% 0.177 287.2)

  • #2978E2

    #2978E2

    oklch(58.3% 0.178 257.4)

  • #A452BF

    #A452BF

    oklch(58.3% 0.177 317)

Open the analogous palette in the generator

Split complementary

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

  • #7864DD

    #7864DD

    oklch(58.4% 0.177 287.2)

  • #A37000

    #A37000

    oklch(58.3% 0.122 77.2)

  • #3F9200

    #3F9200

    oklch(58.5% 0.178 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7864DD

    #7864DD

    oklch(58.4% 0.177 287.2)

  • #C45500

    #C45500

    oklch(58.2% 0.161 47.1)

  • #00916C

    #00916C

    oklch(58.3% 0.119 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7864DD

    #7864DD

    oklch(58.4% 0.177 287.2)

  • #CF4154

    #CF4154

    oklch(58.3% 0.178 17)

  • #848000

    #848000

    oklch(58.4% 0.126 107.5)

  • #008D90

    #008D90

    oklch(58.4% 0.099 197.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7864DD.

Similar named colors

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

Use #7864DD 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.