#8542DC

Closest named color: Blue Violet (#8A2BE2). oklch(54.6% 0.221 298.7), rgb(133, 66, 220).

Aa

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

About this color

#8542DC 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.034 away. White text reads best on it, at 5.51:1.

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

Values

HEX#8542DC
RGBrgb(133, 66, 220)
HSLhsl(266, 69%, 56%)
OKLCHoklch(54.6% 0.221 298.7)

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 #8542DC 5.51:1 AA Lc -82.1 Fine for body text
Black text on #8542DC 3.81:1 AA large text Lc 27.3 Dividers and decoration only
#8542DC text on white 5.51:1 AA Lc 76.8 Fine for body text
#8542DC text on black 3.81:1 AA large text Lc -25.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DDD2F9

    oklch(88.5% 0.054 298.2)

  4. Step 300

    300

    #C9B3F9

    oklch(81% 0.1 298.6)

  5. Step 400

    400

    #AE87F5

    oklch(70.6% 0.16 298.6)

  6. Step 500

    500

    #9C64F1

    oklch(63% 0.204 298.7)

  7. Step 600

    600 (this color)

    #8542DC

    oklch(54.6% 0.221 298.7)

  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

    #4C2B7D

    oklch(37.7% 0.133 298.3)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#8542DC 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.148
Deuteranopia (no green cones)#0067D90.149
Tritanopia (no blue cones)#70688B0.167
Achromatopsia (no color)#6969690.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #8542DC

    #8542DC

    oklch(54.6% 0.221 298.7)

  • #697A00

    #697A00

    oklch(54.6% 0.128 119)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8542DC

    #8542DC

    oklch(54.6% 0.221 298.7)

  • #3E5DEE

    #3E5DEE

    oklch(54.6% 0.22 268.6)

  • #B028AE

    #B028AE

    oklch(54.6% 0.221 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #8542DC

    #8542DC

    oklch(54.6% 0.221 298.7)

  • #8B6C00

    #8B6C00

    oklch(54.7% 0.112 88.7)

  • #008837

    #008837

    oklch(54.7% 0.156 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8542DC

    #8542DC

    oklch(54.6% 0.221 298.7)

  • #A65A00

    #A65A00

    oklch(54.6% 0.129 58.9)

  • #008371

    #008371

    oklch(54.6% 0.1 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8542DC

    #8542DC

    oklch(54.6% 0.221 298.7)

  • #D3070B

    #D3070B

    oklch(54.6% 0.221 28.6)

  • #697A00

    #697A00

    oklch(54.6% 0.128 119)

  • #007F8D

    #007F8D

    oklch(54.6% 0.094 208.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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