#8C8FE4

Closest named color: Perrywinkle (#8F8CE7). oklch(68.3% 0.124 281), rgb(140, 143, 228).

Aa

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

About this color

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

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

Values

HEX#8C8FE4
RGBrgb(140, 143, 228)
HSLhsl(238, 62%, 72%)
OKLCHoklch(68.3% 0.124 281)

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 #8C8FE4 2.93:1 Fails Lc -61.0 Content text, not long reading
Black text on #8C8FE4 7.16:1 AAA Lc 48.4 Large or bold text, headings
#8C8FE4 text on white 2.93:1 Fails Lc 55.7 Large or bold text, headings
#8C8FE4 text on black 7.16:1 AAA Lc -46.1 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

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D3D6F6

    oklch(88.4% 0.044 281.2)

  4. Step 300

    300

    #B7BBF2

    oklch(80.8% 0.078 281.3)

  5. Step 400

    400 (this color)

    #8C8FE4

    oklch(68.3% 0.124 281)

  6. Step 500

    500

    #7B7AE6

    oklch(63.1% 0.159 281.3)

  7. Step 600

    600

    #6560D4

    oklch(55.5% 0.173 281.1)

  8. Step 700

    700

    #544FB8

    oklch(49.1% 0.161 280.8)

  9. Step 800

    800

    #454195

    oklch(42.7% 0.134 281.2)

  10. Step 900

    900

    #393876

    oklch(37.6% 0.103 280.9)

  11. Step 950

    950

    #212145

    oklch(26.8% 0.066 281)

Export this scale for Tailwind in the Tailwind colors tool

#8C8FE4 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)#739AE70.039
Deuteranopia (no green cones)#6E94E20.039
Tritanopia (no blue cones)#72A0AF0.109
Achromatopsia (no color)#9797970.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C8FE4

    #8C8FE4

    oklch(68.3% 0.124 281)

  • #AA9B31

    #AA9B31

    oklch(68.3% 0.124 101.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C8FE4

    #8C8FE4

    oklch(68.3% 0.124 281)

  • #5A9DE3

    #5A9DE3

    oklch(68.2% 0.125 251.1)

  • #B282D1

    #B282D1

    oklch(68.3% 0.124 311.3)

Open the analogous palette in the generator

Split complementary

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

  • #8C8FE4

    #8C8FE4

    oklch(68.3% 0.124 281)

  • #C98B36

    #C98B36

    oklch(68.4% 0.124 71.1)

  • #7EA953

    #7EA953

    oklch(68.4% 0.125 130.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C8FE4

    #8C8FE4

    oklch(68.3% 0.124 281)

  • #D97D5B

    #D97D5B

    oklch(68.3% 0.124 40.8)

  • #42B180

    #42B180

    oklch(68.4% 0.125 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C8FE4

    #8C8FE4

    oklch(68.3% 0.124 281)

  • #DA7786

    #DA7786

    oklch(68.4% 0.124 11.2)

  • #AA9B31

    #AA9B31

    oklch(68.3% 0.124 101.1)

  • #00B0AA

    #00B0AA

    oklch(68.3% 0.118 190.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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