#8642DC

Closest named color: Blue Violet (#8A2BE2). oklch(54.7% 0.221 299), rgb(134, 66, 220).

Aa

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

About this color

#8642DC is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.221 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.033 away. White text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.221)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.82:1
White text5.48:1

Values

HEX#8642DC
RGBrgb(134, 66, 220)
HSLhsl(266, 69%, 56%)
OKLCHoklch(54.7% 0.221 299)

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 #8642DC 5.48:1 AA Lc -82.0 Fine for body text
Black text on #8642DC 3.82:1 AA large text Lc 27.4 Dividers and decoration only
#8642DC text on white 5.48:1 AA Lc 76.6 Fine for body text
#8642DC text on black 3.82:1 AA large text Lc -25.1 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED2F9

    oklch(88.6% 0.054 299.3)

  4. Step 300

    300

    #C9B3F8

    oklch(80.9% 0.098 298.8)

  5. Step 400

    400

    #AF87F5

    oklch(70.7% 0.16 299)

  6. Step 500

    500

    #9D64F1

    oklch(63.1% 0.204 299.1)

  7. Step 600

    600 (this color)

    #8642DC

    oklch(54.7% 0.221 299)

  8. Step 700

    700

    #7435C2

    oklch(49.1% 0.206 298.9)

  9. Step 800

    800

    #5E2E9D

    oklch(42.7% 0.17 298.7)

  10. Step 900

    900

    #4D2B7D

    oklch(37.8% 0.133 299)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#8642DC 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)#0069E10.150
Deuteranopia (no green cones)#0068D90.151
Tritanopia (no blue cones)#72688B0.166
Achromatopsia (no color)#6969690.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #8642DC

    #8642DC

    oklch(54.7% 0.221 299)

  • #697A00

    #697A00

    oklch(54.6% 0.128 119)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8642DC

    #8642DC

    oklch(54.7% 0.221 299)

  • #405CEF

    #405CEF

    oklch(54.6% 0.222 269.2)

  • #B128AE

    #B128AE

    oklch(54.8% 0.222 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #8642DC

    #8642DC

    oklch(54.7% 0.221 299)

  • #8B6C00

    #8B6C00

    oklch(54.7% 0.112 88.7)

  • #008839

    #008839

    oklch(54.7% 0.154 149)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8642DC

    #8642DC

    oklch(54.7% 0.221 299)

  • #A65A00

    #A65A00

    oklch(54.6% 0.129 58.9)

  • #008372

    #008372

    oklch(54.6% 0.1 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8642DC

    #8642DC

    oklch(54.7% 0.221 299)

  • #D30907

    #D30907

    oklch(54.7% 0.221 29.1)

  • #697A00

    #697A00

    oklch(54.6% 0.128 119)

  • #007F8E

    #007F8E

    oklch(54.6% 0.094 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8642DC 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.