#8B8DEC

Closest named color: Perrywinkle (#8F8CE7). oklch(68.2% 0.139 281.2), rgb(139, 141, 236).

Aa

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

About this color

#8B8DEC is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.009 away. Black text reads best on it, at 7.11:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.11:1
White text2.94:1

Values

HEX#8B8DEC
RGBrgb(139, 141, 236)
HSLhsl(239, 72%, 74%)
OKLCHoklch(68.2% 0.139 281.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 #8B8DEC 2.94:1 Fails Lc -61.2 Content text, not long reading
Black text on #8B8DEC 7.11:1 AAA Lc 48.2 Large or bold text, headings
#8B8DEC text on white 2.94:1 Fails Lc 55.9 Large or bold text, headings
#8B8DEC text on black 7.11:1 AAA Lc -45.9 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300

    #B6BBF8

    oklch(81% 0.086 280.6)

  5. Step 400

    400 (this color)

    #8B8DEC

    oklch(68.2% 0.139 281.2)

  6. Step 500

    500

    #7A77F0

    oklch(63.1% 0.177 281.2)

  7. Step 600

    600

    #655CDF

    oklch(55.6% 0.193 281.2)

  8. Step 700

    700

    #544BC1

    oklch(49.1% 0.178 281)

  9. Step 800

    800

    #453E9C

    oklch(42.7% 0.148 281.5)

  10. Step 900

    900

    #39367C

    oklch(37.6% 0.115 281.2)

  11. Step 950

    950

    #212049

    oklch(26.9% 0.074 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#8B8DEC 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)#6B9AF00.047
Deuteranopia (no green cones)#6693EA0.047
Tritanopia (no blue cones)#6DA0B10.121
Achromatopsia (no color)#9696960.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B8DEC

    #8B8DEC

    oklch(68.2% 0.139 281.2)

  • #AC9B13

    #AC9B13

    oklch(68.4% 0.139 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B8DEC

    #8B8DEC

    oklch(68.2% 0.139 281.2)

  • #519DEB

    #519DEB

    oklch(68.2% 0.138 251.1)

  • #B57ED7

    #B57ED7

    oklch(68.2% 0.139 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #8B8DEC

    #8B8DEC

    oklch(68.2% 0.139 281.2)

  • #CE881E

    #CE881E

    oklch(68.2% 0.139 70.8)

  • #7AAA48

    #7AAA48

    oklch(68.2% 0.139 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B8DEC

    #8B8DEC

    oklch(68.2% 0.139 281.2)

  • #DF7952

    #DF7952

    oklch(68.3% 0.138 41.2)

  • #2DB37D

    #2DB37D

    oklch(68.3% 0.139 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B8DEC

    #8B8DEC

    oklch(68.2% 0.139 281.2)

  • #E07183

    #E07183

    oklch(68.2% 0.139 11.3)

  • #AC9B13

    #AC9B13

    oklch(68.4% 0.139 101.2)

  • #00B0AB

    #00B0AB

    oklch(68.4% 0.118 191.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8B8DEC 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.